http://mobile.cityredbird.com/markers_1262979319.png
Is it possible to store individual markers encoded in base64 in our
database and then inline HTML output 'data:image/png;base64' on-demand
into the MarkerImage function?
The reason why we don't want to use the traditional approach is we're
trying to cut down on number of HTTP requests due to mobile
constraints.
new google.maps.MarkerImage('data:image/
png;base64,iVBORw0KGgoAAAAN...'
Nothing came up. No errors and no markers.
Try the following syntax:
new google.maps.MarkerImage({
icon: 'data:image/png;base64,iVBORw0KGgoAAAAN...'
});
This works for me in Firefox 3.5.7, Chrome and Safari 4.0.3 (all on Windows XP).
> --
> You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
> To post to this group, send email to google-map...@googlegroups.com.
> To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
>
>
Our experimental setup was:
MySQL TEXT data fields containing base64 encoded image binary data.
Our PHP script fetched the images from the database, put them in a
JSON array along with other marker information and passed that array
over to Google Maps.
On Jan 10, 9:07 pm, Ben Appleton <apple...@google.com> wrote: