Changeset 738 for trunk/Modules/Map/MapAPI.php
- Timestamp:
- Apr 14, 2015, 10:20:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Modules/Map/MapAPI.php ¶
r574 r738 1 1 <?php 2 2 3 class MapApi extends Model 3 class MapApi extends Model 4 4 { 5 5 var $Position; … … 9 9 var $ShowMarker; 10 10 var $MarkerText; 11 11 12 12 function __construct($System) 13 13 { 14 14 parent::__construct($System); 15 $this->Zoom = 2; 15 $this->Zoom = 2; 16 16 $this->Position = array('Lat' => 40.178873, 'Lng' => 65.039062); 17 17 $this->Key = ''; 18 18 $this->ShowMarker = false; 19 $this->MarkerText = ''; 19 $this->MarkerText = ''; 20 20 } 21 21 22 22 function Show() 23 23 { … … 39 39 </script>'; 40 40 $Output .= '<script type="text/javascript"> 41 41 42 42 var map; 43 43 var tinyIcon; 44 44 45 45 function initialize() 46 46 { … … 52 52 map.setUIToDefault(); 53 53 map.addControl(new GOverviewMapControl(new GSize(128, 96))); 54 54 55 55 GEvent.addListener(map,"click",function(overlay, point) 56 56 { … … 61 61 }); 62 62 } 63 63 64 64 // Create our "tiny" marker icon 65 65 var tinyIcon = new GIcon(); … … 84 84 class MapApiSeznam extends MapApi 85 85 { 86 86 87 87 }
Note:
See TracChangeset
for help on using the changeset viewer.