Changeset 1095269
- Timestamp:
- 02/20/2015 03:50:18 PM (9 years ago)
- Location:
- simplemap
- Files:
-
- 1 added
- 22 edited
- 11 copied
Legend:
- Unmodified
- Added
- Removed
-
simplemap/tags/2.4.7/classes/simplemap.php
r809073 r1095269 100 100 101 101 if ( !' . absint( $is_sm_search ) . ' && auto_locate == "ip" ) { 102 jQuery.getJSON( "http://freegeoip.net/json/?callback=?", function(location) { 102 // alternatively, freegeoip.net/json/ 103 jQuery.getJSON( "http://www.telize.com/geoip/?callback=?", function(location) { 103 104 lat = location.latitude; 104 105 lng = location.longitude; … … 113 114 document.getElementById("location_search_state_field").value = location.region_code; 114 115 } 115 if ( document.getElementById("location_search_zip_field")) {116 ) { 116 117 document.getElementById("location_search_zip_field").value = location.zipcode; 117 118 } … … 1256 1257 } 1257 1258 1258 var html = '<div class="markertext" style=" max-width: ' + maxbubblewidth + 'px; height: ' + totalheight + 'px; overflow-y: auto; overflow-x: hidden;">';1259 var html = '<div class="markertext" style="max-width: ' + maxbubblewidth + 'px; height: ' + totalheight + 'px; overflow-y: auto; overflow-x: hidden;">'; 1259 1260 html += '<h3 style="margin-top: 0; padding-top: 0; border-top: none;">'; 1260 1261 … … 1364 1365 1365 1366 html += ' </div>'; 1367 1368 1369 1370 1371 1372 1373 1366 1374 1367 1375 google.maps.event.addListener(marker, 'click', function() { … … 1379 1387 if ( infowidth < maxbubblewidth ) infowidth = maxbubblewidth; 1380 1388 infowidth = parseInt(infowidth) + 'px'; 1389 1381 1390 var infowindow = new google.maps.InfoWindow({ 1382 1391 maxWidth: infowidth, 1383 1392 content: html 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1384 1413 }); 1385 1414 infowindow.open(map, marker); -
simplemap/tags/2.4.7/inc/styles/dark.css
r521911 r1095269 211 211 } 212 212 213 .sm-single-location-data-ul { 214 213 .infoBox { 214 background-color: #fff; 215 } 216 .infoBox:after { 217 position: relative; 218 top: 20px; 219 left: 60px; 220 border-top: 0px; 221 border-left: 0px; 222 padding: 0px; 223 content: ''; 224 overflow: hidden; 225 display: block; 226 width: 0; 227 height: 0; 228 border-left: 20px solid rgba(0, 0, 0, 0); 229 border-right: 20px solid rgba(0, 0, 0, 0); 230 border-top: 20px solid #FFF; 231 } -
simplemap/tags/2.4.7/inc/styles/light.css
r521911 r1095269 216 216 margin-left:0; 217 217 } 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 -
simplemap/tags/2.4.7/readme.txt
r1095263 r1095269 5 5 Tags: map, maps, store locator, database, locations, stores, Google maps, locator 6 6 Requires at least: 2.8 7 Tested up to: 3.7.18 Stable tag: 2.4. 67 Tested up to: .1 8 Stable tag: 2.4. 9 9 10 10 SimpleMap is an easy-to-use international store locator plugin that uses Google Maps to display information directly on your WordPress site. -
simplemap/tags/2.4.7/simplemap.php
r1095263 r1095269 2 2 /* 3 3 Plugin Name: SimpleMap 4 Version: 2.4. 64 Version: 2.4. 5 5 Plugin URI: http://simplemap-plugin.com/ 6 6 Author: Michael Torbert … … 20 20 21 21 // Plugin Version Number 22 define( 'SIMPLEMAP_VERSION', '2.4. 6' );22 define( 'SIMPLEMAP_VERSION', '2.4.' ); 23 23 24 24 if ( !defined( 'WP_PLUGIN_DIR' ) ) { -
simplemap/trunk/classes/simplemap.php
r809073 r1095269 100 100 101 101 if ( !' . absint( $is_sm_search ) . ' && auto_locate == "ip" ) { 102 jQuery.getJSON( "http://freegeoip.net/json/?callback=?", function(location) { 102 // alternatively, freegeoip.net/json/ 103 jQuery.getJSON( "http://www.telize.com/geoip/?callback=?", function(location) { 103 104 lat = location.latitude; 104 105 lng = location.longitude; … … 113 114 document.getElementById("location_search_state_field").value = location.region_code; 114 115 } 115 if ( document.getElementById("location_search_zip_field")) {116 ) { 116 117 document.getElementById("location_search_zip_field").value = location.zipcode; 117 118 } … … 1256 1257 } 1257 1258 1258 var html = '<div class="markertext" style=" max-width: ' + maxbubblewidth + 'px; height: ' + totalheight + 'px; overflow-y: auto; overflow-x: hidden;">';1259 var html = '<div class="markertext" style="max-width: ' + maxbubblewidth + 'px; height: ' + totalheight + 'px; overflow-y: auto; overflow-x: hidden;">'; 1259 1260 html += '<h3 style="margin-top: 0; padding-top: 0; border-top: none;">'; 1260 1261 … … 1364 1365 1365 1366 html += ' </div>'; 1367 1368 1369 1370 1371 1372 1373 1366 1374 1367 1375 google.maps.event.addListener(marker, 'click', function() { … … 1379 1387 if ( infowidth < maxbubblewidth ) infowidth = maxbubblewidth; 1380 1388 infowidth = parseInt(infowidth) + 'px'; 1389 1381 1390 var infowindow = new google.maps.InfoWindow({ 1382 1391 maxWidth: infowidth, 1383 1392 content: html 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1384 1413 }); 1385 1414 infowindow.open(map, marker); -
simplemap/trunk/inc/styles/dark.css
r521911 r1095269 211 211 } 212 212 213 .sm-single-location-data-ul { 214 213 .infoBox { 214 background-color: #fff; 215 } 216 .infoBox:after { 217 position: relative; 218 top: 20px; 219 left: 60px; 220 border-top: 0px; 221 border-left: 0px; 222 padding: 0px; 223 content: ''; 224 overflow: hidden; 225 display: block; 226 width: 0; 227 height: 0; 228 border-left: 20px solid rgba(0, 0, 0, 0); 229 border-right: 20px solid rgba(0, 0, 0, 0); 230 border-top: 20px solid #FFF; 231 } -
simplemap/trunk/inc/styles/light.css
r521911 r1095269 216 216 margin-left:0; 217 217 } 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 -
simplemap/trunk/readme.txt
r809073 r1095269 5 5 Tags: map, maps, store locator, database, locations, stores, Google maps, locator 6 6 Requires at least: 2.8 7 Tested up to: 3.7.18 Stable tag: 2.4. 67 Tested up to: .1 8 Stable tag: 2.4. 9 9 10 10 SimpleMap is an easy-to-use international store locator plugin that uses Google Maps to display information directly on your WordPress site. -
simplemap/trunk/simplemap.php
r809073 r1095269 2 2 /* 3 3 Plugin Name: SimpleMap 4 Version: 2.4. 64 Version: 2.4. 5 5 Plugin URI: http://simplemap-plugin.com/ 6 6 Author: Michael Torbert … … 20 20 21 21 // Plugin Version Number 22 define( 'SIMPLEMAP_VERSION', '2.4. 6' );22 define( 'SIMPLEMAP_VERSION', '2.4.' ); 23 23 24 24 if ( !defined( 'WP_PLUGIN_DIR' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.