User post Google Maps Location

  1. 7 years ago

    I'm searching for a nice forum script that made is easy for users to ad a custom location to a post.
    I really like the idea of esoTalk and it would be great if there is a plugin for this.

    It would be nice if the user can type a location or adress in a new post, for example by using a bb code like: [map]Herengracht 51, Amsterdam[/map].
    In the final post this tag wil be generated to a google maps field.

    Is there already something like this, is there somebody who can tell me how te create this, or is knows someone a script other than esoTalk that support this?
    Thanks a Lot!

  2. ram

    29 Aug 2012 Moderator
    Edited 7 years ago by ram

    There are some jQuery plugins that can be useful like:
    http://gmap.nurtext.de/examples.html
    http://www.pittss.lv/jquery/gomap/examples/marker.php

    Then you can handle your map tag to something like

    <div class="gmap" id="mapxxx">Herengracht 51, Amsterdam</div>
    <script type="text/javascript">
    $(function() {
        $("#mapxxx").gMap({ markers: [{ adress:"Herengracht 51, Amsterdam"
                                  html: "_adress",
                                  popup: true }]
                                  });
    });
    </script>

    (see BBcode plugin for how to)

    More Maps javascript

  3. @web2jojo I'm searching for a nice forum script that made is easy for users to ad a custom location to a post.
    I really like the idea of esoTalk and it would be great if there is a plugin for this.

    It would be nice if the user can type a location or adress in a new post, for example by using a bb code like: [map]Herengracht 51, Amsterdam[/map].
    In the final post this tag wil be generated to a google maps field.

    Is there already something like this, is there somebody who can tell me how te create this, or is knows someone a script other than esoTalk that support this?
    Thanks a Lot!

    @ram yap...
    @web2jojo this working example on my forum... try hover on my avatar to see http://talkover.16mb.com/1-welcome-to-talkover-forum

 

or Sign Up to reply!