Shackrock
Shackrock

Reputation: 4701

Google Maps API - Custom Marker, NOT an image

Is it possible to use a custom marker that is only text on a google map (that is NOT an image)?

For example, I display a small circle with a number in it on specified locations on the google map. I only know that I can add markers, with the data popping up after the marker is clicked - I rather display the data directly on the map.

Thanks for the help.

Upvotes: 1

Views: 1061

Answers (1)

McGarnagle
McGarnagle

Reputation: 102753

You could try using an "overlay" as outlined here:

http://blog.mridey.com/2009/09/label-overlay-example-for-google-maps.html

Alternatively, maybe generating text as dynamic images using ImageMagick would be a good solution: http://www.php.net/manual/en/book.imagick.php

Upvotes: 1

Related Questions