Hi there, I am a developer looking to use OSM in conjunction with a store locator plugin for wordpress. I was hoping someone could tell me if it was possible to use OSM with that type of plugin or if there is a different solution that you folks would recommend. The only thing that I would need to test wether or not OSM would work with this plugin is the API key. If anyone has any helpful tips for this I would be very grateful! Thanks! asked 05 Apr '12, 18:07 dommagnifico |
There's no such thing as an API key for OSM. You just specify your user agent (http-style) and you're done. A store locator should be easy to write using either leaflet or openlayers. Use your own json object for the list of stores, and one of the available tiles for the map background (be sure to respect the tile usage policy). There may be ready-made wordpress plugins for that, I don't know. If your needs are more complex than the simple json-based solution can provide, you'll have to give us more details, answered 06 Apr '12, 09:48 Vincent de P... ♦ Basically what I am trying to do is have the user be able to search by either zipcode or state, when the user hits enter to search for said state or zipcode, the map zooms in to that area automatically. That's pretty much the bare bones version of what I need and I was hoping there was some way to do that with OSM, I am using leaflet as well. Thank you both for the quick responses. If there is an example of this out there somewhere for me to take a gander at that would be awesome as well, I have been searching all over but to no avail.
(06 Apr '12, 20:50)
dommagnifico
|