Trouble Embedding Google Street View

  • Author
    Posts
  • #342667

    I am trying to embed a google street view scene in a blog post. It worked on first try, then we I edited the post it didn’t. I have cut and pasted the HTML from the google map page. Any help is appreciated.

    The blog I need help with is williamsburgsrealestate.com.

    #342782

    raincoaster
    Member

    As far as I know, it can’t be done. It’s javascript, isn’t it?

    Please paste the code here between backticks, so we can look at it line by line.

    #342834

    <iframe width=”700″ height=”394″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.com/maps/sv?cbp=12,297.27605397944484,,0,5&cbll=37.309829,-76.767735&v=1&panoid=&gl=&hl=en”></iframe>
    <small>View Larger Map</small>

    #342836

    ellaella
    Member

    That cannot be used here, sorry. iframes are not allowed.

    #342837

    Thanks, odd that it seemed to work at first.

    #342838

    What is the difference in that and a regular google map which I can embed ?

    code for reg map:

    <iframe width=”425″ height=”350″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=114418637777095827713.0004648416bea7a659101&s=AARTsJolcb1PjEqrB9Ox00wRGZ8A39m18w&ll=37.315965,-76.751818&spn=0.095566,0.145912&z=12&output=embed”></iframe>
    <small>View Larger Map</small>

    #342841

    ellaella
    Member

    Google maps are whitelisted, much as YouTube videos are:

    http://support.wordpress.com/google-maps/

    #342842

    1tess
    Moderator Emeritus

    It can be done:
    http://support.wordpress.com/google-maps/
    @mrwilliamsburg,
    Are you sure you are pasting the code into the Visual editor?

    #342861

    @mrwilliamsburg: If the Support instructions won’t work, just copy the URL of the map (the “src” part of the code you pasted) and use it with the googlemap shortcode in the html post editor. That would be:

    [googlemaps http://maps.google.com/maps/sv?cbp=12,297.27605397944484,,0,5&cbll=37.309829,-76.767735&v=1&panoid=&gl=&hl=en]

    #342865

    1tess
    Moderator Emeritus

    This is odd:
    Google gives you an option to customize the maps.
    If you customize In street view and copy that code, wordpress does not accept the map.
    If you customize in map view, wordpress does accept and embed the map.

    #342900

    raincoaster
    Member

    Interesting, I wonder if staff would fix that.

    #342914

    Ok, so I’m not as dumb as I thought ? How does staff look into issues such as this ? Will they read the forum or do I submit the issue somewhere else ?

    #342916

    1tess
    Moderator Emeritus

    ok. I contacted support. It is odd, but did you try it? May be I just did something dumb?

    #342917

    No, I have tried it multiple times it doesnt work…Thanks

    #342919

    1tess
    Moderator Emeritus

    mrwilliamsburg
    Did you paste the code for the street view/customize Google maps?
    For some reason, my test blog is public so you can see:
    a street view in the area where I work
    the code I copied from the customize option at Google (unsuccessful)
    your code pasted in (successful)
    etc. from maps of my own, medium and small, street views and maps.
    http://tesssjapanesekitchen.wordpress.com/

    #342928

    I just tried again unsuccessfully . Maps are no problem. It is just the street view I am having the problem with.

    #342942

    1tess
    Moderator Emeritus

    [googlemaps http://maps.google.com/maps/sv?cbp=12,297.27605397944484,,0,5&cbll=37.309829,-76.767735&v=1&panoid=&gl=&hl=en]

    #342955

    raincoaster
    Member

    If it works when you paste it in the HTML editor, but messes up when you go back and try to edit it, then the solution (sadly) is to never, ever edit the post again. I’ve seen a couple of codes that work this way.

    #342960

    1tess
    Moderator Emeritus

    No, sorry to disagree. Yes, I’ve seen code that works only if one stays in HTML forever, but I’ve switched back and forth between visual and HTML, changed themes, and it still applies. In fact with the code panaghiotisadam wrote, I’ve even pasted in in either visual or HTML.

    #342963

    raincoaster
    Member

    Yes, but I mean the street view. The OP said it worked until he edited it.

The topic ‘Trouble Embedding Google Street View’ is closed to new replies.