[OpenLayers-Trac] Re: [OpenLayers] #3330: Fully Terms of Service compliant attribution

OpenLayers trac-20090302 at openlayers.org
Sat May 28 06:39:38 EDT 2011


#3330: Fully Terms of Service compliant attribution
----------------------------+-----------------------------------------------
 Reporter:  ahocevar        |       Owner:  ahocevar    
     Type:  feature         |      Status:  new         
 Priority:  minor           |   Milestone:  2.12 Release
Component:  Layer.GoogleNG  |     Version:  2.10        
 Keywords:                  |       State:  Review      
----------------------------+-----------------------------------------------
Changes (by ahocevar):

  * state:  => Review


Comment:

 The attached patch addresses the first issue by using the Google Maps
 Copyright Service as documented in
 http://mapki.com/wiki/Google_Map_Parameters#Misc to get the copyright
 texts, so instead of the "Map Data" link, we provide the copyright texts
 directly inside the content. And the second issue is addressed by changing
 the colors for the attribution in css. The result can be seen at
 http://dev.openlayers.org/sandbox/ahocevar/google-ng/examples/google-
 ng.html

 Note to reviewers: the flesh of the patch is the new loadCopyrights
 function. The patch also moves the mapTypes property from the prototype to
 the OpenLayers.Layer.GoogleNG namespace, so it is in the same place as the
 loadCopyrights function. loadCopyrights is called on layer moveend instead
 of map moveend like updateAttribution was previously.

 Thanks for any review.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3330#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list