1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Google Maps?

Google Maps?

3 posts, 0 answered
  1. John
    John avatar
    26 posts
    Registered:
    30 Nov 2010
    17 Mar 2011
    Link to this post
    Is there currently a way to integrate Google Maps into content pages?
  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    17 Mar 2011
    Link to this post
    this could be done in a number of ways.

    The easiest way would be to drop the code directly into the content view in html mode or use the script block widget in the toolbox for the javascript code.

    Alternatively, you could place the google map script on a user control, then register that control as a widget and drop that on the page.

    Finally you could develop a complete custom widget that would allow you to specify an address, etc.

    This is what was done for the Bing map widget in the Charity Starter Kit. the full source code for that widget is included in the starter kit, which is available for download in your Sitefinity account.

    Take a look at that for an example; I'm sure it could easily be modified to use Google instead of Bing.

    hope this was helpful!
  3. Tom Miller
    Tom Miller avatar
    52 posts
    Registered:
    27 Feb 2010
    20 Sep 2011
    Link to this post
    Thanks for your direction.  I am new with sitefinity and trying to convert our current site into sitefinity. 

    Here is my page I am working on:  http://programmers.cpcug.org/directions.htm

    I grabbed everything including the Script tags into the script widget:
    Write Java Script and In the head tag options

    Then I grab everything between the body tags including the body tags and paste it into a content block as HTML.

    Everything but the map shows up.

    What am I doing wrong?

    Thanks in advance.
3 posts, 0 answered