On Sep 25, 5:19 pm, ANCofE <[email protected]> wrote: > I'll start off by saying I know very little about JavaScript and tend > to limit myself to implementing code I'm given. > > Knowing that APIv3 was out, I decided to try and upgrade to the latest > version to bypass a needless complication I had with keys for dev / > test sites. In the process of doing so, I discovered that the v2 code > I had probably did not do what I thought it did. I've tried to read up > on the issue, but have reached the point that I'm just getting > frustrated and making no progress, so I'm going to go back to zero and > ask for help. > > My previous (v2) map can be seen > here:http://www.astonnechellscofe.org.uk/contact#map > > The different 'businesses' are all added with full details onto > GooglePlaces, and I created a 'MyMaps" to show them all (and the > boundary), which is public. > > Now, I was under the (mistaken?) impression that I'd set it up such > that the map was showing the GooglePlaces records, but having followed > the link from my site to check this, I think that I'm actually > creating new pointers which are not synchronised with GooglePlaces. > "Fine, I'll look at creating it 'properly' from scratch" I think... > this is where I hit a brick wall. > > Q. Is it possible to create a map that contains the GooglePlaces > records and not simply create new pins? > Q. Can't I just link to MyMaps? > > I just can't seem to find the information I'm looking for and I have > gone in so many different directions that I don't know my arse from my > elbow any more. Any help (even / especially a link to the right place > for the info I need) would be greatly appreciated. > > Stuart Since all I found was adding KML I propose this should work with API 3 var myOptions = { zoom: 13, //variable mapTypeId: google.maps.MapTypeId.TERRAIN //variable }; map = new google.maps.Map(document.getElementById("googlemap"), myOptions); var ctaLayer = new google.maps.KmlLayer('http:// www.astonnechellscofe.org.uk/Parish_of_Aston_and_Nechells.kml', {preserveViewport:true}); ctaLayer.setMap(map); map.setCenter(new google.maps.LatLng(52.5075,-1.87965)) I hope it works for you. Best wishes Nick Rosencrantz
-- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
