Hi Dan That just show me how to add the OSM overlays to an existing map in my app.
The directions that come from the Eircode site uses a custom url scheme of maps.apple.com <http://maps.apple.com/> as it’s detecting that iPhone is in the user agent header. That will open the maps app automatically. On other platforms it jumps to maps.google.com <http://maps.google.com/> which I’m guessing is customisable on Android as to what opens it. This is not an option on iOS to have another app using the maps.apple.com <http://maps.apple.com/> url scheme. I’ve asked Eircode if they have an API available but they don’t but will have a list of third party suppliers of Eircode data soon. That means we could purchase lookups of eircode data at very low prices. But it does not allow us to publish a free app which is fully capable of doing what one would like to be able to do. Maybe down the road when the usage increase there would be a market for an app which works as you would need but for now I guess we’ll wait and see how it pans out. Donie > On 17 Jul 2015, at 16:23, Daniel Cussen <[email protected]> wrote: > > On android it asks dedicated mapping app, or firefox or chrome, and I > select afterwards "just once" so it asks me every time. > > I assume if I do not pick just once it will remember and go straight > without asking me, as your apple is doing. > > See here for first place I found after a search: > http://www.glimsoft.com/01/31/how-to-use-openstreetmap-on-ios-7-in-7-lines-of-code/ > > "in today’s programming tutorial, I’ll show you how easy it is to use > OpenStreetMap maps in your app instead of default Apple maps. " > > On 17/07/2015, Donie Kelly <[email protected]> wrote: >> HI Dan >> >> Are you on Android, because on iOS it only jumps to Apple maps when you >> click directions? >> >> Donie >> >>> On 17 Jul 2015, at 15:44, Daniel Cussen <[email protected]> wrote: >>> >>> So I did some tests. >>> >>> If I go to finer.eircode.ie on my phone and put in a postcode, and >>> then click directions, the co-ordinates are handed over to my phone. I >>> then have a choice of which mapping app to use. It is important to >>> pick DIRECTIONS as other options use the eircode mapping website. The >>> DIRECTIONS option does not appear on the non mobile version. >>> >>> Using google maps, it takes my current location and directs me all the >>> way to a GPS position. This currently works even though google maps >>> does not support eircode. >>> >>> You can do this 15 times a day, currently, and assuming an OSM app >>> works the same, it will also be handed the position. It even shows the >>> address info with the house number and name pulled from Eircode. >>> >>> This is a current possible use case. I am assuming it is currently >>> possible or should be possible with OSM. I don't have any OSM apps on >>> my phone at present to try. >>> >>> _______________________________________________ >>> Talk-ie mailing list >>> [email protected] >>> https://lists.openstreetmap.org/listinfo/talk-ie >> >> > > _______________________________________________ > Talk-ie mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/talk-ie _______________________________________________ Talk-ie mailing list [email protected] https://lists.openstreetmap.org/listinfo/talk-ie
