#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 prairiedogg):

 I used a different patch (icons_and_draggable.diff) on my local install
 when I needed to add multiple GIcons to a map, so I thought I'd upload it
 as an alternative approach.  This patch includes a GIcon class which more
 or less wraps Google's js GIcon class.  It also includes some changes to
 the default map js template to include the icon declarations before the
 marker declarations so that the markers can be instantiated with the
 various icon instances.

 The API for instantiating GIcons in this patch is slightly different than
 the one in the existing patch because I made it for the purposes of
 creating multiple types of icons to go on a single map.  I'm sorry this
 patch also includes the dragable marker bit from #10072.  If I'm breaching
 etiquette here please let me know, I'm new to contributing to OSS.

 Look forward to everyone's suggestions!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9204#comment:6>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to