I've attempted to embed a map...but the map doesn't show...it screens, but is not showing the map...
www.protyre.co.uk/outletsdesc.aspx?id=11049 Can you shed any light on why this is? On Tue, Apr 13, 2010 at 3:21 PM, Andrew Leach <andrew.leac...@googlemail.com > wrote: > On Apr 13, 3:13 pm, Pro Tyre <protyre...@googlemail.com> wrote: > > Thanks...I have now placed the API code in 'default.aspx' and the error > is > > no longer appearing...just two more questions... > > > > - I set the sensor parameter to false...what effect does this have? What > > would happen if I set it to true? Which one is best practice for my > purpose? > > http://code.google.com/apis/maps/documentation/index.html#SpecifyingSensor > > If you're not sensing the user's physical position in the world, then > false is fine. There is no effect, but Google's data licence from its > suppliers requires that statistics are kept. > > > - What code would I put in now, for example via the CMS forhttp:// > www.protyre.co.uk/outletsdesc.aspx?id=11049 > > to show a map for, 'SO21 3AP'? > > I can't see any attempt at putting a map in that page at all -- have > you published your changes? > > Anyway, the Multimap link has the location, so you can use those > coordinates rather than the postcode (and doing that is far more > efficient) > > map.setCenter(new GLatLng(51.18172,-1.26041)); > map.addOverlay(new GMarker(map.getCenter())); > > "map" needs to be the name you have given your "new GMap2" object. > Most people use map. More details: Mike's tutorial is a good place to > start. http://econym.org.uk/gmap/ > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API" group. > To post to this group, send email to google-maps-...@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-api+unsubscr...@googlegroups.com<google-maps-api%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to google-maps-...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.