Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

disabling ipad from creating placemarks on google map

I have a google map that I created with KML:

enter image description here

Here is a link to the map:

http://goo.gl/maps/dkfjU

Here is the complete KML file:

https://dl.dropbox.com/u/94943007/02bb39645a3c9d95afeed5cb9bd5d07c040d8ca8a4ee56b9fb367d38.kml

When browsing this map with my IPAD using safari, for some reason when I tap anywhere on the map, it creates a point there on the map.

How do I disable point creation on the map so that IPAD users are not able to do this?

like image 640
Alex Gordon Avatar asked Aug 31 '12 19:08

Alex Gordon


2 Answers

I checked the link as well and Marcelo seems to be correct. To have a maps with the ability to turn on and off layers you will need to build your own site and perhaps use Javascript and the Google-maps API to build it. Maybe start here: https://developers.google.com/maps/documentation/javascript/tutorial

like image 131
LeasMaps Avatar answered Sep 19 '22 04:09

LeasMaps


You cannot disable adding a place mark if you are browsing the map in safari

You can control it if you use map kit iOS API of the iOS SDK.

  • For importing KML-Data into that SDK, you can use Sample Code from Apple: http://developer.apple.com/library/ios/#samplecode/KMLViewer/Introduction/Intro.html
  • But there is no built-in KML Import in iOS SDK. You can use other frameworks as mapbox/Simple-KML here https://github.com/mapbox/Simple-KML

If you want to do this in safari, then you're lost, unless you can manipulate that using JavaScript!!!

like image 36
Fab1n Avatar answered Sep 21 '22 04:09

Fab1n