WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Brent Logan
    Member
    Posted 1 year 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?

    Thanks!

    http://wordpress.org/extend/plugins/simple-google-maps-short-code/

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

  3. Marioline
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.