Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2008-02-02 19:25:48

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

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

It’s the background-color: #ffffff; for #content img that’s causing this :) You only need to add

#map img {background-color: transparent;}

Offline

#74 2008-02-02 22:57:37

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

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

Big thanks! Nice one, would have taken me hours to figure that one out.
I had to add an !important thingy though, in order to break out of the ever complex cascading code.

Thanks again!

Offline

#75 2008-02-26 18:36:02

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

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

I have recently been experimenting with GeoTagging (actually am running my map page on the Geoblogging method at the moment) and the results have been quite promising.

However, what I am trying to do is put an icon – and we’ve been hard at work designing a new standard GeoTagIcon – on my blog post to link to that particular point on the map, as per the WP geo-mashup plugin.

Therefore, I was wondering if there have been any developments here (rss_google_map) to facilitate that kind of linking from the article to the point and zoom level on the map? I’m now getting to the limit of my capability and trying to “reverse engineer” the elements from the WP geo-mashup plugin to achieve this is beyond me.

Cheers.

Last edited by Spot (2008-04-22 23:16:00)


iMac 3.06 GHz 2 GB SDRAM
OSX 10.6.2

Offline

#76 2008-03-02 04:26:54

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

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

Well, I’ve been trying for a few days now to get this plugin to work, and the most I’ve ever managed to get out of it are a few repeated lines saying: Map Not Available

Trouble is I’m completely mystified as to what the problem is – which makes asking questions to try and solve it a problem. It seemed easier just to write the javascript to build a page to pull in 6 Custom Field variables or so, plus an xml file – my current state can bee seen here if anyone cares to have a gander.

Last edited by Spot (2008-04-22 23:14:49)


iMac 3.06 GHz 2 GB SDRAM
OSX 10.6.2

Offline

#77 2008-03-17 09:56:17

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

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

After trying something else I returned to have another go and first success!

Last edited by Spot (2008-04-22 23:12:11)


iMac 3.06 GHz 2 GB SDRAM
OSX 10.6.2

Offline

#78 2008-03-25 16:18:39

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

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

Hey All.

I’ve been using this for quite a while now. All was working well.
Then I upgraded from 0.2 to 0.5 and all went dark.

Just using examples I get weirdness.

Using: <txp:rss_google_map lat="38.898563" long="-77.037223" geotitle="The White House" />
I get a map and all seems fine.

If I use: <txp:rss_google_map address="1600 Pennsylvania Ave NW" city="Washington" state="DC" zip="20500" />
I get “Map Not Available”

I’m just calling this from a page…no forms involved.
Api key is correct and present in the <head>

Running TXP 4.0.6

Any ideas? Thoughts? Directions? Rocks to bash my head against?


Tom

Offline

#79 2008-03-31 21:18:11

eddiejanzer
New Member
Registered: 2008-03-12
Posts: 4

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

I have 4 sites, they all do the very same thing. What did Spot do to correct the issue?

Offline

#80 2008-04-01 02:06:44

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

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

eddiejanzer,

Thanks for the confirmation that I’m not entirely losing my mind.

Anyhow have v0.5 working on 4.0.6?


Tom

Offline

#81 2008-04-01 02:11:43

eddiejanzer
New Member
Registered: 2008-03-12
Posts: 4

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

you have to use longitude and latitude now, only way it will work (not your address)

Offline

#82 2008-04-13 11:22:10

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

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

saccade wrote:

Maybe I didn’t find the information, but is there a way to change the first/default view from “Map” to “Satellite” or “Hybrid”?

Ever get/work out an answer to this, Michael?


Keith
Blyth, Northumberland, England
Capture The Moment

Offline

#83 2008-04-14 17:17:59

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

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

you have to use longitude and latitude now, only way it will work (not your address)

What happened? Is there a problem with the Yahoo Geocoding API? That is what converts the address into longitude/latitude values right? This was all working nicely before. I’ve got a site with a bunch of addresses in custom fields…and now the mapping doesn’t work anymore.

Anyone out there have this working with addresses in custom fields?

Plz hlp.


Tom

Last edited by renobird (2008-04-14 17:19:31)

Offline

#84 2008-04-22 23:40:43

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

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

I’ve come to the conclusion that you cannot write a number of posts with co-ordinates in, to be contained within a single map on your site. If you look here – as you scroll down the page you will see the “Map Not Available” where the plugin has tried to place the maps from other posts (have a look at the source code for that page).

I’ve used the following in the body of my map page template: <txp:article_custom form=“rss_map” />
the “rss_map” form being: <txp:rss_google_map section=“articles” latfield=“lat” longfield=“long” usearticle=“1” />
and naturally the first and second Custom Fields set to “lat” and “long”

(I used the first two Custom Fields as they are the same as are used by the .xml file to draw this map I’d kept from earlier.)

If a single map is all that is achievable, beyond putting small inline maps within the page, I think it is a better idea to simply link out to GoogleMaps using an “Override” form (selected when required) for an article that is geotagged.

An example, with the form code is here at least this can then be worked-up to contain further information to display on the GMap – possibly to contain polygon data and a kml file, if required.

Cheers.


iMac 3.06 GHz 2 GB SDRAM
OSX 10.6.2

Offline

Board footer

Powered by FluxBB