Sunday, October 15, 2006

Custom type button legends



Add this script right after your Maps API call:
<script>
_mMapMode = "Karta";
_mMapModeShort = "Karta";
_mSatelliteMode = "Sputnik";
_mSatelliteModeShort = "Sput";
_mHybridMode = "Gibrid";
_mHybridModeShort = "Gib";
GLoadMapsScript();
<\script>

An example.

The trick was presented by Alexander on the forum.

1 comment:

Tasuke said...

I learned from your sample, showControls() and hideControls(). They are very cool. I also added them to my map.

Thank you