Changeset 1586592
- Timestamp:
- 02/01/2017 03:16:09 PM (9 years ago)
- Location:
- scale-lite-tools/trunk
- Files:
-
- 1 added
- 2 edited
-
assets/js/admin.sl-maps.js (modified) (1 diff)
-
assets/js/frontend.sl-google-maps.bk.js (added)
-
inc/sl-google-maps/class-slt-gmap-meta-fields.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scale-lite-tools/trunk/assets/js/admin.sl-maps.js
r1586515 r1586592 24 24 position: results[0].geometry.location 25 25 }); 26 document.getElementById("slt-map-latitude").value = results[0].geometry.location.lng(); 27 document.getElementById("slt-map-longitude").value = results[0].geometry.location.lat(); 26 28 callback(results[0].geometry.location,map); 27 29 } else { -
scale-lite-tools/trunk/inc/sl-google-maps/class-slt-gmap-meta-fields.php
r1586525 r1586592 19 19 ), 20 20 array( 21 'id' => ' map-latitude',21 'id' => 'slt-map-latitude', 22 22 'label' => 'Latitude', 23 23 'type' => 'text', 24 24 ), 25 25 array( 26 'id' => ' map-longitude',26 'id' => 'slt-map-longitude', 27 27 'label' => 'Longitude', 28 28 'type' => 'text', … … 40 40 ), 41 41 array( 42 'id' => ' width',42 'id' => 'slt-gmap-width', 43 43 'label' => 'Width of map', 44 44 'type' => 'number', 45 45 ), 46 46 array( 47 'id' => ' height',47 'id' => 'slt-gmap-height', 48 48 'label' => 'Height of map', 49 49 'type' => 'number',
Note: See TracChangeset
for help on using the changeset viewer.