Changeset 53820 in spip-zone
- Timestamp:
- Oct 28, 2011, 6:46:29 PM (9 years ago)
- Location:
- _plugins_/gis/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/gis/trunk/modeles/carte_gis.html
r53804 r53820 104 104 [(#ENV{type}|=={'relief'}|oui) #SET{maptype,PHYSICAL} ] 105 105 ] 106 map[(#GET{id})].setMapType([mxn.Mapstraction.(#GET{maptype})]); 106 // Pour l'API Openlayers, la methode n'existe pas 107 try { 108 map[(#GET{id})].setMapType([mxn.Mapstraction.(#GET{maptype})]); 109 } 110 catch(err) { 111 ; 112 } 107 113 108 114 [(#ENV{no_control,#ENV{aucun_controle}}|!={oui}|oui) -
_plugins_/gis/trunk/modeles/carte_gis_preview.html
r53804 r53820 13 13 var marker; 14 14 map_preview = new mxn.Mapstraction(map_preview_container,'[(#REM|gis_api_utilisee)]'); 15 map_preview.setMapType([mxn.Mapstraction.(#REM|gis_maptype_utilise)]); 15 // Pour l'API Openlayers, la methode n'existe pas 16 try { 17 map_preview.setMapType([mxn.Mapstraction.(#REM|gis_maptype_utilise)]); 18 } 19 catch(err) { 20 ; 21 } 16 22 17 23 map_preview.addControls({ -
_plugins_/gis/trunk/saisies/carte.html
r53804 r53820 66 66 form_map = new mxn.Mapstraction(map_container,'[(#REM|gis_api_utilisee)]'); 67 67 form_map.setCenterAndZoom(new mxn.LatLonPoint(#ENV{lat,#CONFIG{gis/lat,0}},#ENV{lon,#CONFIG{gis/lon,0}}),#ENV{zoom,#CONFIG{gis/zoom,0}}); 68 form_map.setMapType([mxn.Mapstraction.(#REM|gis_maptype_utilise)]); 68 // Pour l'API Openlayers, la methode n'existe pas 69 try { 70 form_map.setMapType([mxn.Mapstraction.(#REM|gis_maptype_utilise)]); 71 } 72 catch(err) { 73 ; 74 } 69 75 form_map.addControls({ 70 76 pan: true,
Note: See TracChangeset
for help on using the changeset viewer.