gmap code to produce a smaller map?

Discussion in 'The Test Bed' started by wcutler, Feb 16, 2010.

  1. wcutler

    wcutler Paragon of Plants Forums Moderator VCBF Cherry Scout 10 Years

    Messages:
    10,796
    Likes Received:
    2,230
    Location:
    Vancouver, BC Canada
    Forget Katalina's code. Here's what's supposed to work
    [GMAP]<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=102530710726726651981.00044746c64da246329bc&amp;ll=49.269036,-123.104124&amp;spn=0.211475,0.338688&amp;iwloc=00044860e2f93b07c7ca4&amp;output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=102530710726726651981.00044746c64da246329bc&amp;ll=49.269036,-123.104124&amp;spn=0.211475,0.338688&amp;iwloc=00044860e2f93b07c7ca4&amp;source=embed" style="color:#0000FF;text-align:left">Vancouver BC Ornamental Cherries</a> in a larger map</small>[/GMAP]
     
  2. wcutler

    wcutler Paragon of Plants Forums Moderator VCBF Cherry Scout 10 Years

    Messages:
    10,796
    Likes Received:
    2,230
    Location:
    Vancouver, BC Canada
    Oh, dang. It zoomed out on me! The other night, it worked perfectly, on a new embed and displaying the old ones. Without having to customize to get the zoom. It was on a different computer. Here's with the zoom code, customized

    [GMAP]<iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=102530710726726651981.00044746c64da246329bc&amp;ll=49.292063,-123.140752&amp;spn=0.004198,0.006437&amp;z=16&amp;iwloc=00044860e2f93b07c7ca4&amp;output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=102530710726726651981.00044746c64da246329bc&amp;ll=49.292063,-123.140752&amp;spn=0.004198,0.006437&amp;z=16&amp;iwloc=00044860e2f93b07c7ca4&amp;source=embed" style="color:#0000FF;text-align:left">Vancouver BC Ornamental Cherries</a> in a larger map</small>[/GMAP]
     
  3. wcutler

    wcutler Paragon of Plants Forums Moderator VCBF Cherry Scout 10 Years

    Messages:
    10,796
    Likes Received:
    2,230
    Location:
    Vancouver, BC Canada
    This is flaky, though. I edited the previous posting and inserted the words "This was on a different computer". That text shows up in edit, but not in the real display.

    And the other night, when I edited a posting I'd done that had an embedded map, and I added a second embedded map, all the accompanying text was repeated in the display, but when I went into edit to remove the duplicate text, it wasn't there.

    So sometimes it doesn't display text and sometimes it duplicates text. Both times, that was in edit. It seems best to not edit a posting with an embedded map.
     

Share This Page