开发者

How do I load all my location based content into google maps

I am writing an iPad application that uses the MapKit control.

How do I get all my content into Google Maps. i.e. I have a bunch of locations along with photos, video, audio and various other information.

So when the iPad user loads my App and zooms into a certain place in the world I want my Annotations to be visible and when they touch the pins they get access to more in开发者_Go百科formation etc.


var myOptions = {
  zoom: 4,
  mapTypeControl: true,
  mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU },
  navigationControl: true,
  navigationControlOptions: { style: google.maps.NavigationControlStyle.SMALL },
  mapTypeId: google.maps.MapTypeId.ROADMAP
}
var mp200 = new google.maps.Map(document.getElementById('dv200m'), myOptions);
var pos = new google.maps.LatLng(tLat, tLon);
var mrk2 = new google.maps.Marker({ position: pos, map: mp200, title: 'bla bla', icon: '/images/twitter.png' });
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜