Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#97 2009-02-04 00:57:55

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

I’m sorry… I’m a bit lost. I need to create a page with two Google Maps on it for two different addresses. IIRC rss_google_map doesn’t allow two maps on the same page/article. If I’m right, are there other options available?

Thanks.

Offline

#98 2009-02-05 09:27:43

Spot
Member
Registered: 2006-05-05
Posts: 39
Website

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

Hi Neko,

For 2 maps on one page just double-up on the relevant code and enter 2 map divs i.e:

<div id=“map”></div>
<div id=“map1”></div>

As I linked above see here and TextBook

Please note this is not for the rss_google_map plugin, but an .xml file driven map and I’m slightly conscious that this should not be on this rss_google_map thread, but I am sure confused as to where it should be, with all the talk about trying to move the “How-tos and Examples” on to the Wiki. Perhaps any specific enquiries could be entered into the comments on my blog page or emailed directly to me.


iMac 3.06 GHz 2 GB SDRAM
OSX 10.6.2

Offline

#99 2009-02-05 22:37:09

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

Thanks a lot, Spot.

Anyway, I just found out (I really didn’t know!) that Google Maps allow copy and paste HTML snippets in order to integrate maps into any site, directly from their interface.

Offline

#100 2009-02-05 23:51:58

Spot
Member
Registered: 2006-05-05
Posts: 39
Website

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

Yeh, it’s very useful – actually I don’t use either the rss_google_map plugin or the xml method myself now!

There’s plenty of fun to be had with Picasa/Flickr/GPSies etc without having to go to the trouble yourself – and save on storage…


iMac 3.06 GHz 2 GB SDRAM
OSX 10.6.2

Offline

#101 2009-04-21 10:20:42

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

Hi, I am having some problems with this plugin,
I am using this code in my form:

<txp:rss_google_map lat=“custom_1” long=“custom_2”/>

but no map is shown

This code works:

<txp:rss_google_map lat="38.898563" long="-77.037223" geotitle="The White House" />

Last edited by mlarino (2009-04-21 10:23:01)

Offline

#102 2009-04-21 10:48:38

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

Well, I made it work using the standart textpattern <txp:custom_field name=“customfield” /> to export de data.

<txp:rss_google_map  lat="<txp:custom_field name="Latitud" />" long="<txp:custom_field name="Longitud" />" geotitle="<txp:title />" width=“300”/>

Offline

#103 2009-04-21 11:20:25

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

Do you think is posible to modify this in the plugin to use custom images?

var icon = new GIcon();
					icon.image = \"http://labs.google.com/ridefinder/images/mm_20_".$this->iconcolor.".png\";
					icon.shadow = \"http://labs.google.com/ridefinder/images/mm_20_shadow.png\";

Offline

#104 2009-04-24 23:00:37

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

Just an FYI – Geocoding an address doesn’t work in this plugin because it was using Yahoo’s API. It looks like the url changed and they now require a key. I was able to get it to work by changing this line

$apiURL = "http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=";

to

$apiURL = "http://api.local.yahoo.com/MapsService/V1/geocode?appid=YD-9G7bey8_JXxQP6rxl.fBFGgCdNjoDMACQA--&location=";

The key used is the one used in Yahoo’s Demo

Ideally the plugin would be updated to use Google’s API and therefore only require one key.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#105 2009-04-28 09:40:26

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

Hi
The source Rss google maps places on my website is not working due to this script http://www.efectorelativo.net/laboratory/noobSlide/

Does someone know how to make this work?
I am tring to show the text of the article, and have a button to show the map (with the slide in script)

But instead of showing the map, it shows a bunch of frames with scrolls.
Can someone help?
thanks!

Offline

#106 2009-11-17 08:27:15

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

This is (ORPHAN)???
Noooooooooooooo

Sucks, such a usefull plugin! we use it everyday here at work in one of our sites dedicated to Restaurants and things to do around the city, the people publishing content wouldnt know how to do it any other way!

Anyone interested in taking this over?

there is a lot of cool things we could do with this plugin.

Directions in the Maps API v3 for example, etc etc etc…..

Offline

#107 2009-11-17 09:51:22

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

I need it too.
Strange that is [ORPHAN] now: it seems to me that Matt is currently active in TXP community… :|

Offline

#108 2009-11-17 17:09:50

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: [plugin] [ORPHAN] rss_google_map - display articles on google maps

My plugin isn’t related to this one although they make great companions.

I’ve thought about updating this plugin to use the Google Geocoding API and release my own version of it but I haven’t had time.

My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB