Comments (3)
I presume this integration would take the form of tools for loading geomarks and saving geomarks.
These could be the same tool.
An example of how this could be implemented is shown at https://portal.nrs.gov.bc.ca/cwmc-lib/v1.9.0/sdk/examples/showcase/:
The import and export tools in CWM support more formats besides Geomark.
Loading a geomark:
- get URL from user
- get a layer title from user
- let user select the style for displaying the geometry (stroke color, fill color, marker shape, ...?)
- load geometry and place on map using the selected style
- add geomark layer to layer list in a folder. The name of the folder, and its placement in the layer list determined by configuration.
Saving a geomark:
- Identify the target geometry to save. There are 2 possible sources: the selection tool or the markup tool.
- submit geometry to geomark service
- present user with the geomark URL that the service returns.
I'll estimate 5 days for this work
from smk.
For this tool to be useful, the geometry sources must be functional.
The selection tool can grab the geometry from a feature on the map, but offers no way to edit or otherwise manipulate that geometry.
The markup tool allows you draw on that map, and thats it. The geometry drawn is not organized in any way. There is no styling possible. You can edit the geometries however.
I propose some improvements to markup & selection:
- a way organize markup geometries. A folder in the layer list that contains all markup objects is probably the simplest.
- a way to copy the geometry of a feature in the selection to markup
estimate 3 days for this work
from smk.
Geomark functionality was integrated in pull request #147, after which SMK 1.0.7 was released. Closing this issue.
from smk.
Related Issues (20)
- Enhancement idea: Enable searchability of an embedded SMK map
- "Uber Search" or "Federated Search"
- "Get Directions" link on an identified feature HOT 2
- cluster coverages on by default HOT 4
- showCoverageOnHover option is not respected
- Allow configuration of showCoverageOnHover without clusterStyle
- It's Been a While Since This Repository has Been Updated
- Create Bespoke tool demo HOT 1
- Improve documentation for the Bespoke tool HOT 1
- Fix vulnerabilities identified by npm audit
- Geomark tool conflicts with the Identify tool HOT 1
- Loaded geomarks are all checked when returning to panel HOT 1
- UI events can be handled unexpectedly by multiple tools
- Investigate improved method of modularization HOT 1
- Remove geomark tool "Load File" functionality HOT 1
- It's Been a While Since This Repository has Been Updated HOT 1
- Support conditional styling based on feature attributes
- best way to link to a different URL? HOT 2
- Configure search bar to query layer attribute values
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smk.