Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As of today (20 November 2013), the Google Static Maps API documentation has not been updated to reflect a change in the display of custom icons that appears to be linked with the retirement of Google Maps API v2.</p> <p>Prior to the v2 retirement, static maps custom icons displayed a shadow (shadow:true was the default); their "anchor point" was set at the bottom center of the custom icon image, from where the shadow was cast. Now, shadows are turned off by default (a bug?) and the anchor point is set at the center of the custom icon image. The image effectively obscures the point, making my maps "pointless".</p> <p>To remedy this, I added <code>visual_refresh=false</code> to my URLs. The visual_refresh parameter was introduced earlier this year as a way for developers to opt-in to the new, beautified maps. See: <a href="http://googlegeodevelopers.blogspot.ch/2013/05/a-fresh-new-look-for-maps-api-for-all.html" rel="nofollow">http://googlegeodevelopers.blogspot.ch/2013/05/a-fresh-new-look-for-maps-api-for-all.html</a></p> <p>The example image illustrating Google Static Maps custom icons (see: <a href="https://developers.google.com/maps/documentation/staticmaps/index#CustomIcons" rel="nofollow">https://developers.google.com/maps/documentation/staticmaps/index#CustomIcons</a>) no longer displays as it should (shadows on by default). Adding <code>visual_refresh=false</code> to the image src URL returns the map to its intended state.</p> <p>I don't know for how long this solution will be necessary. It would be great if someone from Google would update this question when the Static Maps API is corrected! </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload