Forum Replies Created

Viewing 1 replies (of 1 total)
  • Quick fix for Theme Blvd Responsive Google Maps – GPS coordinates:
    its not universal but it works ??
    This plugin uses jquery.gmap.min.js and jquery.gmap.min.js have markers latitude and longitude.
    Convert your GPS coordinates to decimal number, for example
    16°51’46” to 16.8627778 (https://www.earthpoint.us/Convert.aspx)
    Open themeblvd-google-maps.php and add two lines at line 97, under markers

    <!-- RUN gMap() -->
    	<script type="text/javascript">
    	jQuery(document).ready(function($) {
    		$("#tb_gmap_<?php echo $id; ?>").gMap({
    			maptype: "<?php echo $maptype; ?>",
    			zoom: <?php echo $zoom; ?>,
    			markers: [
    				{
    					latitude:43.2783333,
    					longitude:16.8627778,
    					address: "<?php echo $address; ?>",
    					popup: <?php echo $popup; ?>,
    					html: "<?php echo $html; ?>"
    				}
    			],
    			controls: {
    				panControl: true,
    				zoomControl: true,
    				mapTypeControl: true,
    				scaleControl: true,
    				streetViewControl: false,
    				overviewMapControl: false
    			}
    		});
    	});
    	</script>

    after that just call map with [tb_google_map] shortcode.

Viewing 1 replies (of 1 total)