mapLinks in individual maps?

Home Forums MapPress Support mapLinks in individual maps?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11128
    BradSiegfried
    Participant

      Is the mapLinks setting supported when creating individual maps?  I tried the code below but didn’t see the “Center map Reset map Bigger map” links as expected.

      $mymap = new Mappress_Map(array(“width” => 300, “height” => 200, “bigWidth” => “600px”, “bigHeight” => “400px”, “zoom” => 15, “mapLinks” => “bigger,center,reset”, “post_status” => “publish”, “posts_per_page”=> -1, “overviewmapcontrol” => false, “maptypecontrol” =>false, “marker_body” => “none”, “marker_link” => true, “marker_title” => “post”, “poilist” => true, “center” => array(“lat” => $cblat, “lng” => $cblng)));

       

      #11130
      Chris
      Keymaster

        Hi Brad, it’s an array, try:

        “mapLinks” => array(“bigger”, “center” , “reset”)

        #11132
        BradSiegfried
        Participant

          Thanks, Chris.  That worked like a charm once I remembered the commandment about not pasting curly quotes…

          Brad

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.