Changeset 86 for ATGoogleMaps
- Timestamp:
- 08/14/06 00:18:04 (6 years ago)
- Location:
- ATGoogleMaps/trunk/skins/googlemaps
- Files:
-
- 2 edited
-
gmarker_view.pt (modified) (1 diff)
-
latlng_widget.pt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ATGoogleMaps/trunk/skins/googlemaps/gmarker_view.pt
r85 r86 37 37 38 38 <div style="float: right; margin: 5px;" 39 tal:condition="here/point | nothing"> 39 tal:condition="here/point | nothing" 40 tal:define="server here/server | here/aq_parent/server | string:maps.google.com"> 40 41 <div id="map" style="width: 300px; height: 150px;"></div> 41 42 <a href="" 42 tal:attributes="href string:http://$ {here/server}?ll=${here/point/latitude},${here/point/longitude}"43 tal:attributes="href string:http://$server?ll=${here/point/latitude},${here/point/longitude}" 43 44 i18n:translate="label_larger_map"> 44 45 View larger map -
ATGoogleMaps/trunk/skins/googlemaps/latlng_widget.pt
r85 r86 17 17 18 18 <tal:block tal:define="latitude value/latitude | string:0.0; 19 longitude value/longitude | string:0.0;"> 19 longitude value/longitude | string:0.0; 20 server here/server | here/aq_parent/server | string:maps.google.com"> 20 21 21 <script type="text/javascript" src=""22 tal:attributes="src string:http://maps.google.com/maps?file=api&v=2&key=${here/portal_properties/gmap_properties/api_key}">23 </script>24 <script type="text/javascript" src=""25 tal:attributes="src string:http://www.google.com/uds/api?file=uds.js&v=0.1&key=${here/portal_properties/gmap_properties/api_key}">26 </script>22 <script type="text/javascript" src="" 23 tal:attributes="src string:http://$server/maps?file=api&v=2&key=${here/portal_properties/gmap_properties/api_key}"> 24 </script> 25 <script type="text/javascript" src="" 26 tal:attributes="src string:http://www.google.com/uds/api?file=uds.js&v=0.1&key=${here/portal_properties/gmap_properties/api_key}"> 27 </script> 27 28 28 <script type="text/javascript" src=""29 tal:attributes="src string:$portal_url/atgooglemaps.js">30 </script>31 <span tal:replace="structure here/latlng_map" />32 33 <div style="float: right;">34 <input type="text" size="30" id="q"/>35 <input type="button" id="s"36 value="Search"37 tabindex=""38 onclick="search();"39 i18n:domain="plone"40 i18n:attributes="value label_search;"41 tal:attributes="tabindex tabindex/next;"42 />43 <br />44 <div id="map" style="height: 200px; width: 300px;">45 </div>46 </div>47 48 <label for="latitude"49 i18n:domain="googlemaps"50 i18n:translate="label_latitude">Latitude</label>51 <input type="text"52 name=""53 value=""54 size="12"55 tabindex="#"56 tal:attributes="name string:${fieldName}.latitude:record:ignore_empty;57 value latitude;58 size widget/size;59 maxlength widget/maxlength;60 tabindex tabindex/next;"61 />62 63 <label for="longitude"64 i18n:domain="googlemaps"65 i18n:translate="label_longitude">Longitude</label>66 <input type="text"67 name=""68 value=""69 size="12"70 tabindex="#"71 tal:attributes="name string:${fieldName}.longitude:record:ignore_empty;72 value longitude;73 size widget/size;74 maxlength widget/maxlength;75 tabindex tabindex/next;"76 />29 <script type="text/javascript" src="" 30 tal:attributes="src string:$portal_url/atgooglemaps.js"> 31 </script> 32 <span tal:replace="structure here/latlng_map" /> 33 34 <div style="float: right;"> 35 <input type="text" size="30" id="q"/> 36 <input type="button" id="s" 37 value="Search" 38 tabindex="" 39 onclick="search();" 40 i18n:domain="plone" 41 i18n:attributes="value label_search;" 42 tal:attributes="tabindex tabindex/next;" 43 /> 44 <br /> 45 <div id="map" style="height: 200px; width: 300px;"> 46 </div> 47 </div> 48 49 <label for="latitude" 50 i18n:domain="googlemaps" 51 i18n:translate="label_latitude">Latitude</label> 52 <input type="text" 53 name="" 54 value="" 55 size="12" 56 tabindex="#" 57 tal:attributes="name string:${fieldName}.latitude:record:ignore_empty; 58 value latitude; 59 size widget/size; 60 maxlength widget/maxlength; 61 tabindex tabindex/next;" 62 /> 63 64 <label for="longitude" 65 i18n:domain="googlemaps" 66 i18n:translate="label_longitude">Longitude</label> 67 <input type="text" 68 name="" 69 value="" 70 size="12" 71 tabindex="#" 72 tal:attributes="name string:${fieldName}.longitude:record:ignore_empty; 73 value longitude; 74 size widget/size; 75 maxlength widget/maxlength; 76 tabindex tabindex/next;" 77 /> 77 78 </tal:block> 78 79 </metal:fill>
Note: See TracChangeset
for help on using the changeset viewer.
