How do I add a high-resolution custom marker on a static google map

gpr picture gpr · Jan 11, 2012 · Viewed 7.5k times · Source

I'm using Google static maps (documention here) to show shops' locations, and I'm using a custom marker instead of the default.

However, this marker image appears low-resolution on high-resolution mobiles like the iPhone 4.

How do I fix it?

Answer

Hakan B. picture Hakan B. · Jun 16, 2013

Set &markers=scale:2 in conjunction with a @2x marker icon image and the &scale=2 parameter.

I just answered this in a duplicate question here: https://stackoverflow.com/a/17130379/378638