Dashboards-maps is a frontend plugin that helps you in uploading custom GeoJSON to OpenSearch and communicates with the geospatial backend plugin for the same.

Related tags

Maps dashboards-maps
Overview

OpenSearch logo

Dashboards-Maps

Dashboards-maps is a frontend plugin that helps you in uploading custom GeoJSON to OpenSearch and communicates with the geospatial backend plugin for the same.

Project Resources

Code of Conduct

This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact [email protected] with any additional questions or comments.

License

This project is licensed under the Apache v2.0 License.

Copyright

Copyright OpenSearch Contributors. See NOTICE for details.

Comments
  • move maps-dashboard plugin to root path

    move maps-dashboard plugin to root path

    Signed-off-by: Junqiu Lei [email protected]

    Description

    Currently the maps-dashboard plugin is under src/plugins/maps-dashboard in this repo, when we need to run plugin with OSD, by default it should be directly under OpenSearch-Dashbaord/plugins/ folder, which can't be directly used after checking out this repo to local. So it's not handy for development and git version control at local.

    After moving the plugin folder to root path of this repo, we can use git sparse checkout to check out the subfolder of maps_dashboards/ to OpenSearch-Dashbaord/plugins/.

    example commands like:

    git init -branch new_branch
    
    git remote add -f origin https://github.com/junqiu-lei/dashboards-maps.git
    
    git config core.sparsecheckout true
    
    echo "maps_dashboards/" >> .git/info/sparse-checkout
    
    git pull origin layers_functions
    

    Finally the directory structure should look like this:

    .
    ├── OpenSearch-Dashboards
    │   └──plugins
    │      └── maps_dashboards
    

    This PR currently will only merge to new feature develop branch, we can have a discussion to move both this plugin and custom-import-map to root path for consistency.

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    opened by junqiu-lei 8
  • add map page and add basic layers panel

    add map page and add basic layers panel

    Signed-off-by: Junqiu Lei [email protected]

    Description

    • Structure create map page and list map page
    • Use Maplibre to show base map for development
    • Update react route
      • for maps list: app/maps_dashboards/
      • for map create page: app/maps_dashboards/create
    • Add basic layers panel

    Issue

    https://github.com/opensearch-project/dashboards-maps/issues/44

    Screenshot

    image

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    maps-dashboards 
    opened by junqiu-lei 5
  • Add document layer

    Add document layer

    Signed-off-by: Junqiu Lei [email protected]

    Description

    Add document layer to map.

    In this PR, it includes:

    • Document layer able to query an index pattern with geo_point filed with configurable document size.
    • Document layer able to change layer style, like color, border size, border color.
    • Document layer able to change layer settings, like zoom range, opacity and name.
    • Add MapLayerSpecification types: OSMLayerSpecification, DocumentLayerSpecification.
    • Fix render when no map item in listing page

    Issues Resolved

    https://github.com/opensearch-project/dashboards-maps/issues/96 https://github.com/opensearch-project/dashboards-maps/issues/100

    Updated Demo

    https://user-images.githubusercontent.com/90288540/205700102-79ecb984-ba4d-4403-9e0c-1c2bba041761.mov

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    v2.5.0 maps-dashboards 
    opened by junqiu-lei 4
  • Enable cypress test for windows and mac platform

    Enable cypress test for windows and mac platform

    Signed-off-by: Heemin Kim [email protected]

    Description

    Enable cypress test for windows and mac platform

    Issues Resolved

    https://github.com/opensearch-project/dashboards-maps/issues/55

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    opened by heemin32 4
  • Introduce saved object plugin into maps plugin

    Introduce saved object plugin into maps plugin

    Signed-off-by: Junqiu Lei [email protected]

    Description

    • Introduce saved objects plugin so that maps object can be stored into OpenSearch.
    • Able to fetch maps data into list page.
    • Add top nav menu component and save modal.
    • Able to click save button to save object with custom tittle and description.
    • Able to delete maps in map list.
    • Use OpenSearchDashboardsContextProvider to pass down OSD services to a service object.

    After this PR merged, will integrate layerlist, mapstate into store logic.

    Issues Resolved

    https://github.com/opensearch-project/dashboards-maps/issues/68

    Updated Demo

    https://user-images.githubusercontent.com/90288540/198542748-ece6ed49-ca77-4f23-a704-5f9a292b15b9.mov

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    v2.5.0 maps-dashboards 
    opened by junqiu-lei 4
  • Update the version of OSD from 2.2.0.0 to 2.3.0.0

    Update the version of OSD from 2.2.0.0 to 2.3.0.0

    Description

    Update the version of OSD from 2.2.0.0 to 2.3.0.0

    Issues Resolved

    #39

    Signed-off-by: Navneet Verma [email protected]

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    v2.3.0 maps 
    opened by navneet1v 4
  • Initializes new plugin for Maps

    Initializes new plugin for Maps

    Signed-off-by: Shivam Dhar [email protected]

    Description

    • Adds boilerplate code for new plugin "Maps"
    • Adds new tab in the Navigation menu on the left

    Ran the following command from OSD to generate a new plugin:

    node scripts/generate_plugin --name mapsDashboards -y

    Screen Shot 2022-08-23 at 3 46 14 PM

    Note: All the code here is auto generated, we will get rid of the temporary code in the future PRs.

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    maps-dashboards 
    opened by Shivamdhar 4
  • Move layer if layer order is changed

    Move layer if layer order is changed

    Description

    if layer is moved below, the drag drop destination provides where layer should be added before. if layer is moved above, the drag drop destination provides where layer should be added above. Hence, move to next layer to find before layer index.

    Signed-off-by: Vijayan Balasubramanian [email protected]

    Demo:

    https://user-images.githubusercontent.com/11067894/209039792-f878053a-0905-4d19-a369-c260d141e4ff.mov

    Issues Resolved

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    opened by VijayanB 3
  • Update layer control panel

    Update layer control panel

    Signed-off-by: Junqiu Lei [email protected]

    Description

    Update layer control panel:

    • Greyed out selected layer name when layer config panel is open.
    • Fix click twice layer name to open layer config panel issue.
    • Disable add new layer button when layer config panel is open.

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    enhancement maps-dashboards 
    opened by junqiu-lei 3
  • Support geo_shape visualization in documents layer

    Support geo_shape visualization in documents layer

    Signed-off-by: Junqiu Lei [email protected]

    Description

    Support geo_shape visualization on documents layer in GeoJSON type.

    Issues Resolved

    https://github.com/opensearch-project/dashboards-maps/issues/100

    Demo

    https://user-images.githubusercontent.com/90288540/206264030-86b0fdba-e7a7-498f-bae8-fc787b4aa1ce.mov

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    maps-dashboards documents-layer 
    opened by junqiu-lei 3
  • Integrate layerList to store and add breadcrumbs

    Integrate layerList to store and add breadcrumbs

    Signed-off-by: Junqiu Lei [email protected]

    Description

    • Integrate map layers to store
    • Add saved map to route in the format of app/maps-dashboards/{id}
    • Add breadcrumbs to listing page, create and saved map page

    Issues Resolved

    https://github.com/opensearch-project/dashboards-maps/issues/68

    Demo

    https://user-images.githubusercontent.com/90288540/199593239-3b72cdc1-5b47-4093-8657-25aaa2567377.mov

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    maps-dashboards 
    opened by junqiu-lei 3
  • [2.2]Migrate custom-import-map plugin to root and add build script

    [2.2]Migrate custom-import-map plugin to root and add build script

    Signed-off-by: Junqiu Lei [email protected]

    Description

    Following with https://github.com/opensearch-project/dashboards-maps/pull/119, update to 2.2.

    • Migrate custom-import-map plugin to root path
    • Add build script

    Issues Resolved

    https://github.com/opensearch-project/dashboards-maps/issues/83

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    opened by junqiu-lei 0
  • [2.3] Migrate custom-import-map plugin to root and add build script

    [2.3] Migrate custom-import-map plugin to root and add build script

    Signed-off-by: Junqiu Lei [email protected]

    Description

    Following with https://github.com/opensearch-project/dashboards-maps/pull/119, update to 2.3.

    • Migrate custom-import-map plugin to root
    • Add build script

    Issues Resolved

    https://github.com/opensearch-project/dashboards-maps/issues/83

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    opened by junqiu-lei 0
  • [2.4]Migrate custom-import-map plugin to root and add build script

    [2.4]Migrate custom-import-map plugin to root and add build script

    Signed-off-by: Junqiu Lei [email protected]

    Description

    Following with https://github.com/opensearch-project/dashboards-maps/pull/119, update to 2.4.

    • Migrate custom-import-map plugin to root
    • Add build script

    Issues Resolved

    https://github.com/opensearch-project/dashboards-maps/issues/83

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    opened by junqiu-lei 0
  • Release Version 2.5.0

    Release Version 2.5.0

    Release Version 2.5.0

    This is a component issue for 2.5.0. Coming from opensearch-build#2908. Please follow the following checklist. Please refer to the DATES / CAMPAIGNS in that post.

    How to use this issue

    This Component Release Issue

    This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help. Any release related work can be linked to this issue or added as comments to create visiblity into the release status.

    Release Steps

    There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.

    Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.

    The Overall Release Issue

    Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.

    What should I do if my plugin isn't making any changes?

    If including changes in this release, increment the version on 2.5 branch to 2.5.0 for Min/Core, and 2.5.0.0 for components. Otherwise, keep the version number unchanged for both.

    Preparation

    • [ ] Assign this issue to a release owner.
    • [ ] Finalize scope and feature set and update the Public Roadmap.
    • [ ] All the tasks in this issue have been reviewed by the release owner.
    • [ ] Create, update, triage and label all features and issues targeted for this release with v2.5.0.
    • [ ] Cut 2.5 branch

    CI/CD

    • [ ] All code changes for 2.5.0 are complete.
    • [ ] Ensure working and passing CI.
    • [ ] Check that this repo is included in the distribution manifest.

    Pre-Release

    • [ ] Update to the 2.5.0 release branch in the distribution manifest.
    • [ ] Increment the version on the parent branch to the next development iteration.
    • [ ] Gather, review and publish release notes following the rules and back port it to the release branch.git-release-notes may be used to generate release notes from your commit history.
    • [ ] Confirm that all changes for 2.5.0 have been merged.
    • [ ] Add this repo to the manifest for the next developer iteration.

    Release Testing

    • [ ] Find/fix bugs using latest tarball and docker image provided in parent release issue and update the release notes if necessary.
    • [ ] Code Complete: Test within the distribution, ensuring integration, backwards compatibility, and performance tests pass.
    • [ ] Sanity Testing: Sanity testing and fixing of critical issues found.
    • [ ] File issues for all intermittent test failures.

    Release

    • [ ] Complete documentation.
    • [ ] Verify all issued labeled for this release are closed or labelled for the next release.

    Post Release

    • [ ] Prepare for an eventual security fix development iteration by incrementing the version on the release branch to the next eventual patch version.
    • [ ] Add this repo to the manifest of the next eventual security patch version.
    • [ ] Suggest improvements to this template.
    • [ ] Conduct a retrospective, and publish its results.
    v2.5.0 release untriage 
    opened by peterzhuamazon 0
  • Display current visible layers status

    Display current visible layers status

    Signed-off-by: Junqiu Lei [email protected]

    Description

    Display current visible layer information on the layer control panel.

    • When the layer is visible in current zoom level, its layer icon will be colorful, else it will be text color.
    • When move mouse to layer icon, the tooltip will show the layer name, zoom range and visibility, and index pattern and filed source for documents layer .

    Demo

    https://user-images.githubusercontent.com/90288540/210645893-e4326232-0393-4429-a381-622f6d6f8a95.mov

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    opened by junqiu-lei 2
  • Update property when switching layer config panel

    Update property when switching layer config panel

    Signed-off-by: Junqiu Lei [email protected]

    Description

    This PR contains:

    • Fixes documents layer data source property not update properly when directly switch to another layer
    • Adds warn modal for unsaved layer configuration when want switch to another layer.

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    opened by junqiu-lei 0
Releases(2.4.0.0)
  • 2.4.0.0(Nov 15, 2022)

    Version 2.4.0.0 Release Notes

    Compatible with OpenSearch and OpenSearch Dashboards Version 2.4.0

    Infrastructure

    • Add windows and mac platform to run unit test (#74)

    Maintenance

    • Bump version to 2.4.0.0 (#70)
    Source code(tar.gz)
    Source code(zip)
  • 2.3.0.0(Sep 15, 2022)

    Version 2.3.0.0 Release Notes

    Compatible with OpenSearch and OpenSearch Dashboards Version 2.3.0

    Enhancements

    • Adds integration tests in the repo for customImportMap plugin (#30)
    Source code(tar.gz)
    Source code(zip)
  • 2.2.0.0(Aug 11, 2022)

    Version 2.2.0.0 Release Notes

    Compatible with OpenSearch and OpenSearch Dashboards Version 2.2.0

    Features

    • Remove plugin check logic and support offline working of importing custom geoJSON(#10)
    • Add error modal and lint fixes(#13)
    • Introduce refresh option to update the custom vector map list (#14)

    Infrastructure

    • Add basic template files related to OpenSearch guidelines(#2)
    • Add GitHub workflow for running unit tests(#6)
    • Add badges to README(#9)
    • Add developer guide and easy setup(#12)
    • Add changes for releasing plugin with OSD as part of 2.2 release(#20)

    Maintenance

    • Add version changes required for 2.2.0 release(#18)
    Source code(tar.gz)
    Source code(zip)
Owner
null
Mapbox Visual for Power BI - High performance, custom map visuals for Power BI dashboards

Mapbox Visual for Microsoft Power BI Make sense of your big & dynamic location data with the Mapbox Visual for Power BI. Quickly design high-performan

Mapbox 121 Nov 22, 2022
A very fast geospatial point clustering library for browsers and Node.

supercluster A very fast JavaScript library for geospatial point clustering for browsers and Node. <script src="https://unpkg.com/[email protected]/d

Mapbox 1.6k Jan 7, 2023
WebGL2 powered geospatial visualization layers

deck.gl | Website WebGL2-powered, highly performant large-scale data visualization deck.gl is designed to simplify high-performance, WebGL-based visua

Vis.gl 10.5k Jan 9, 2023
Geokit - is a command-line interface (CLI) tool written in javascript, that contains all the basic functionalities for measurements, conversions and operations of geojson files.

Geokit Geokit is a command-line interface (CLI) tool written in javascript, that contains all the basic functionalities for measurements, conversions

Development Seed 31 Nov 17, 2022
Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files

Mapshaper Introduction Mapshaper is software for editing Shapefile, GeoJSON, TopoJSON, CSV and several other data formats, written in JavaScript. Maps

Matthew Bloch 3.2k Jan 2, 2023
modern parser & stringifier for WKT, EWKT, and GeoJSON

betterknown betterknown development is supported by ?? placemark.io I wrote wellknown, a WKT parser and stringifier, eons ago. It's still sort of popu

Placemark 32 Sep 3, 2022
Write or parse GeoJSON as YAML

geoyaml Write or parse GeoJSON as YAML. Like this: type: FeatureCollection features: - geometry: type: Point coordinates: - 37.9

Lou Huang 19 Dec 1, 2021
Reproject GeoJSON. Works Offline.

reproject-geojson Reproject GeoJSON features Works Offline Pure JavaScript Cross-Platform (NodeJS or Browser) install npm install reproject-geojson us

Daniel J. Dufour 8 Jul 22, 2022
A memory-efficient GeoJSON representation.

memory-geojson (experimental ?? ) A memory-efficient GeoJSON representation. This is not a new format. It's not meant to be serialized, and it doesn't

Tom MacWright 19 Nov 29, 2022
An online tool to generate and visualize maps for irregular and/or gapped LED layouts, for use with FastLED, Pixelblaze and other libraries.

An online tool to generate and visualize maps for irregular and/or gapped LED layouts, for use with FastLED, Pixelblaze and other libraries.

Jason Coon 172 Dec 8, 2022
An open-source JavaScript library for world-class 3D globes and maps :earth_americas:

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics

Cesium 9.7k Dec 26, 2022
An open-source JavaScript library for world-class 3D globes and maps :earth_americas:

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics

Cesium 9.7k Jan 3, 2023
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL

Mapbox GL JS is a JavaScript library for interactive, customizable vector maps on the web. It takes map styles that conform to the Mapbox Style Specif

Mapbox 9.4k Jan 7, 2023
:leaves: JavaScript library for mobile-friendly interactive maps

Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. Weighing just about 39 KB of gzipped JS plus 4 KB of gzipp

Leaflet 36.5k Jan 1, 2023
the easiest way to use Google Maps

Important If you're developer, I'm moving gmaps.js to NPM, you can give your opinion and check the migration progress in Issue #404 gmaps.js - A Javas

Gustavo Leon 7.1k Dec 28, 2022
Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.

Polymaps Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers. See http://polymaps.org for more details.

Urban Airship 1.6k Dec 23, 2022
UNMAINTAINED Open source JavaScript renderer for Kartograph SVG maps

This project is not maintained anymore. Here are a few reasons why I stopped working on kartograph.js: there's no need to support non-SVG browsers any

null 1.5k Dec 11, 2022
the easiest way to use Google Maps

Important If you're developer, I'm moving gmaps.js to NPM, you can give your opinion and check the migration progress in Issue #404 gmaps.js - A Javas

Gustavo Leon 7.1k Apr 7, 2021
This is a collection of over two hundred code samples an growing for the Bing Maps V8 web control.

Bing Maps V8 Code Samples This is a collection of over a hundred code samples for the Bing Maps V8 web control. These samples have been collected from

Microsoft 130 Dec 8, 2022