Simple Google Maps Short Code
[resolved] Control zoom and hide placemark? (3 posts)

  1. Brent Logan
    Posted 3 years ago #

    A couple of questions:

    1. Is it possible to control the zoom of the displayed map?
    2. Is it possible to hide the placemarker?



  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 3 years ago #

    Not at this time. I might add the options later though.

  3. Marioline
    Posted 3 years ago #

    I also needed to change the "zoom", this is how I did it:

    - open simple-google-map-short-code.php
    - change line 52: "zoom: 15," to whatever

    To remove the marker, delete lines 57/60

    (var marker = new google.maps.Marker({
    	position: location,
    	map: map_<?php echo $map_id ; ?>

    Great little plugin btw, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Google Maps Short Code
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.