On 16 May 2011 05:57, [email protected] <[email protected]> wrote: > > <img src= "http://maps.google.com/maps/api/staticmap? > center=SG1+4PP&zoom=15&size=400x400&markers=color:blue%7Clabel:EXAMPLE > %51.92526,-0.17416&sensor=false" /> > > This shows a map of SG1 4PP > But doesn't show a marker at 51.92526,-0.17416
What's the % doing in the url? You currently have ...label:EXAMPLE%51.92526... %51 is Q, so you're not specifying a location correctly: ...label:EXAMPLEQ.92526... Make the % into | or %7C: ...label:EXAMPLE%7C51.92526... ...label:EXAMPLE|51.92526... Since you know the geographic coordinates of your marker, and that's so close to the centred postcode, there's not a great deal of point in geocoding the postcode. Just leave it out: the map will be centred on the marker, which is **almost** the same. http://maps.google.com/maps/api/staticmap?zoom=15&size=400x400&markers=color:blue|label:EXAMPLE|51.92526,-0.17416&sensor=false http://tinyurl.com/6k9skb8 -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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-api?hl=en.
