jbostoen / itop-jb-map-nominatim Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://jeffreybostoen.be
Home Page: https://jeffreybostoen.be
Feature: Add support to show locator in dashlets.
Currently, the locator feature is not part of the main "Maps" package as it relies on a third-party service (OpenStreetMap).
As it was created as a test/demo on implementing some custom functionality in the map's toolbar, it's original intention was to be a helpful tool while editing a single object. In this case, it creates or updates the single feature in the vector layer with the coordinates of a match (point or center of a line or polygon) when a result is found.
However, in the current version there is no check if the object is actually being edited. That needs to be addressed as well.
When bulk-editing, the geometry field is still visible as it's the only way to set coordinates. There's no hook here to add a map.
Additionally, because it was originally meant as a tool to assist while editing; the dashlet doesn't have the locator. However, the locator might be useful to zoom in on an area and see which features are there.
So the behavior should change:
When editing an object and using the locator, by default it creates or updates the existing feature to a point feature with the discovered coordinates.
The locator tool should:
Only when editing: the feature will be created or updated only if it matches the currently selected feature type.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.