Comments (5)
From @tombatossals on January 29, 2015 11:46
Hi @stefan-niedermann , that's a really interesting feature, I'm going to take a look at integrate it.
How is your idea of using it? We could, for example, define the nominatim server as a default (overridable)
defaults: {
...
nominatim: {
server: ' http://nominatim.openstreetmap.org/reverse'
}
}
And the center attribute of the directive could take care of "name" instead of lat/lng parameters:
center: {
name: "221B Baker Street, London, UK"
}
Does this seems acceptable to you? Do you have another idea?
from ui-leaflet.
From @stefan-niedermann on January 29, 2015 19:14
And the center attribute of the directive could take care of "name" instead of lat/lng parameters
sounds great!
What i imagined: Use search api (https://nominatim.openstreetmap.org/search?) to get lat and lng. eg a user could define a marker or center map like this:
center: {
address: {
street: <housenumber> <streetname>
city: <city>
county: <county>
state: <state>
country: <country>
postalcode: <postalcode>
}
}
so give the user more alternatives:
1.) lat / lng
2.) name (query a string in a unknown format using reverse api)
3.) address (query an address by detailed information using search api)
but what if a user puts multiple of these solutions which are in conflict to each other?
from ui-leaflet.
From @razvansr on May 19, 2015 13:52
Hi guys,
Is this feature still planned for a future release?
from ui-leaflet.
From @tombatossals on July 4, 2015 17:1
Hi, I have integrated the Nominatim with the "bounds" property. This will be merged soon if the rest of developers consider it interesting. We could think about adding this feature with the "center" property too.
from ui-leaflet.
Hi @nmccready ,
Currently the default nominatim search url is over http.
nominatim: { server: ' http://nominatim.openstreetmap.org/search' }
.
There should be a provision to override this url in the defaults property to make this call over https instead of http.
from ui-leaflet.
Related Issues (20)
- leafletData.getDirectiveControls
- Dynamically add data to geoJSONShape HOT 1
- Migration to Angular 4 HOT 1
- Changin markers on scope, the model is different HOT 2
- Markers not showing in second (or more) maps HOT 4
- Travis CI seems to be broken HOT 1
- Add Custom Styles To Google Maps
- layercontrol - More than 1 map on the DOM
- IE 11: US Map mouse over highlighting beside state(s)
- <Security Issue> Slack token need to be encrypted
- Fitbounds and markercluster zoom issue
- Marker in not updating its position on the map, when its value is updated
- Nor working in angular 1.6.4 HOT 2
- Popup closes when changing marker icon
- ui-leaflet analog for bindLabel functionality? HOT 1
- Could anyone propagate this commit to the 2.0.x tag version?
- MBTiles
- Disable auto center adjust after change marker coordinates programmatically
- Is this project still active ?
- Issue with Clickable Marker Content
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 ui-leaflet.