ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Can't figure out the Coollocation template tags needed to display my map.

April 24, 2008 7:30pm

Subscribe [5]
  • #1 / Apr 24, 2008 7:30pm

    mattbaily

    3 posts

    Hi there,

    I trying to get the Coollocation extension to work for me and I am having some serious issues. This is how far I have got.

    I have set the extension up and linked it to a weblog and the relevant custom fields. It displays the map in the tab on the publish and edit pages and generates the long /lat for me and puts them into the correct fields.

    I added this example code from the online doc to my template:

    {exp:coollocation:headers type="map"} (between the <head></head>)
    
    {exp:coollocation:mapdiv_example}
    {exp:coollocation:map lat="123.123" long="45.45" zoom="1" marker="yes"}

    A map displays with a marker, but it is totally blank (grey for google or tiled with “no data” for yahoo). I want to display a map with markers for all the posts from the weblog.

    To tell you truth, I am new to the google / yahoo maps api and I really don’t have a clue what I am doing and the documentation for the extension is a little thin. Does anyone have an example of the code needed to set up a simple map in a template and a little explanation of what does what? Do I need to write a separate RSS page?

    Any help how ever large or small would be greatly appreciated.

    Cheers,
    Matt

  • #2 / Apr 24, 2008 8:16pm

    mattbaily

    3 posts

    Ok, I am an idiot! So I realized that those latitude and longitude values are a little silly and I put new ones in and the map displays. But how do I get the markers generated from the coordinates of each weblog post to display on the map?

  • #3 / Oct 05, 2008 7:46pm

    Tammo

    59 posts

    Hi, got the same thing, did you ever solved it?

    Regards,
    Tammo

  • #4 / Oct 05, 2008 8:12pm

    Tammo

    59 posts

    got it > {exp:coollocation:map lat="{latitude}” long=”{longitude}” zoom=“8” marker=“yes”}

  • #5 / Oct 22, 2008 2:53am

    Account Inactive

    21 posts

    Hi mattbaily,

    With regards to your comment above: But how do I get the markers generated from the coordinates of each weblog post to display on the map?

    Were you able to get this to work? If so, would you mind to post your EE template code as an example. I need to do the same thing and it sounds like you have already cracked this nut. Any help would be much appreciated.

    Cheers,
    Robert

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases