Changeset 275


Ignore:
Timestamp:
02/24/10 20:33:48 (2 years ago)
Author:
takanori
Message:

add street view checkbox

Location:
Products.ATGoogleMaps/trunk/Products/ATGoogleMaps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/content/GMarker.py

    r261 r275  
    5757                    ) 
    5858                ), 
     59    BooleanField('streetView', 
     60                 widget=BooleanWidget( 
     61                     label="Display Street View", 
     62                     label_msgid="label_street_view", 
     63                     description_msgid="help_street_view", 
     64                     i18n_domain="googlemaps", 
     65                     ), 
     66                 ), 
    5967    LatLngField('point', 
    6068                required=True, 
  • Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/skins/ATGoogleMaps/gmarker_view.pt

    r273 r275  
    4545      </a> 
    4646 
    47       <div> 
     47      <div tal:condition="context/streetView"> 
    4848        <iframe width="300" height="240" frameborder="0" scrolling="no" src="" 
    4949                tal:attributes="src string:http://maps.google.com/maps/sv?cbll=${latlng}"></iframe> 
Note: See TracChangeset for help on using the changeset viewer.