#9204: Google Maps Marker to change the Icon
---------------------------------+------------------------------------------
Reporter: qingfeng | Owner: jbronn
Status: new | Milestone: post-1.0
Component: GIS | Version: 1.0
Resolution: | Keywords: geodjango google map icon
gicon
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------+------------------------------------------
Comment (by qingfeng):
This is a new patch:), add `GIcon` and doctest
{{{
>>> GIcon("http://gmaps-
samples.googlecode.com/svn/trunk/markers/blue/blank.png")
<django.contrib.gis.maps.google.overlays.GIcon object at 0x132c6d0>
>>> "%s"%GIcon("http://gmaps-
samples.googlecode.com/svn/trunk/markers/blue/blank.png")
'icon: eval("icon=new GIcon(G_DEFAULT_ICON);icon.image=\'http://gmaps-
samples.googlecode.com/sv
n/trunk/markers/blue/blank.png\';icon")'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/9204#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---