Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#46 2006-10-28 20:16:36

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

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

(Sorry, I am new to this googlemaps topic. Pls. excuse dumb content:)

#44@ qreus76: The code is directly in the source code of that page.

Isn’t it possible to add the code to an article form and get/inject the geodata from custom fields? Even without a plugin?

I like the (pretty complicated) method mentioned in #41. Reading the tutorial I can see that David is limiting the mapdata (limit=). For upcoming events this could be used to limit the markers on the map which would be less confusing and every marker gets an info box with a link to the article and even an excerpt can be included.

Question: What other google maps plugins are around. As Rob is using Yahoo to locate addresses it is not possible form e to use that plugin because Yahoo doesn’t respond to German addresses.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#47 2006-11-10 13:22:44

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

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

merz1 wrote:

What other google maps plugins are around. As Rob is using Yahoo to locate addresses it is not possible form e to use that plugin because Yahoo doesn’t respond to German addresses.

Same question.

Last edited by Niconemo (2006-11-10 13:23:27)


Nico

Offline

#48 2006-11-11 20:17:40

szac
Member
From: Detroit-ish
Registered: 2004-09-18
Posts: 50

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

Hi I’m running v0.3 on 4.0.3. my google maps tag is in a form and I have added the attributes addfield=“custom_1” and so on. My problem is that the map doesn’t see the data. It’s embedded itself blank on the page. Also when I click the marker it’s printing just the word ‘Title’ (which confirms that txp tags are not getting processed?).

I was, however, able to getting working by using asy_wondertag and standard txp custom field calls. This creates the functionality that qreus76 is looking for, but does not work for showing all of the markers from a category or section.

Stats:
Textpattern version: 4.0.3 (r1188)
PHP version: 4.3.10

Thanks!

P.S. Is it possible to force satelite view?

P.P.S. qreus76 try this in your article form (you’ll have to create those custom fields or modify the snippet):

<txp:asy_wondertag>
<txp:rss_google_map address="<txp:custom_field name='address' />" city="<txp:custom_field name="city" />"  state="<txp:custom_field name="state" />"  zip="<txp:custom_field name="zip" />"  zoom="5"  width="560" height="300" addlabel="<txp:title />" />
</txp:asy_wondertag>

Offline

#49 2006-12-03 15:11:59

werner
Member
Registered: 2006-09-03
Posts: 10

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

Cool plugin, but not exactly what I was looking for. I need a plugin that does the following:

- show a world map
- for each article containing data in custom fields google_co1/google_co2, put a marker that links to the article
- google_co1 and google_co2 are the latitude and longitude coordinates.

Any solutions, anyone?

Offline

#50 2006-12-03 21:31:20

werner
Member
Registered: 2006-09-03
Posts: 10

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

sorry should have read adr’s post #41 – that works perfectly for me

Offline

#51 2007-01-15 18:16:03

inakit
Member
Registered: 2005-09-30
Posts: 12

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

hello , I am playin g around with this plug , and i would like to know
if anybody know how to display an international addrees like for exmple spain.
thanks very much
inaki

Offline

#52 2007-01-26 02:44:19

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

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

Any word on whether this plugin plays well with zem_event?

Offline

#53 2007-02-25 21:39:08

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

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

Would it be possible to enter (somewhere in a string, or in customfields) longitude and lattitude? That would solve a problem for non-US users. It might even speed up things, as Yahoo doens’t have to do the search effort.

Of course, for the author of an article, it would mean looking up the exact coordinates, for instance in Google Earth, but hey, that’s not so big a deal.

Last edited by ragger (2007-02-25 21:39:57)

Offline

#54 2007-02-27 03:03:25

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

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

After many requests, the plugin now supports international addresses by allowing you to specify latitude and longitude rather than just a street address.

Download rss_google_map 0.5

rss_google_map 0.5

The plugin supports mapping worldwide locations in two ways.

Method #1: Call the plugin as below by specifying the latitude, longitude and title to display on the map popup.

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

Method #2: Call the plugin on an article form as below where the latfield and longfield are the custom field names that hold your map coordinates.

<txp:rss_google_map section="yoursection" latfield="Latitude" longfield="Longitude" usearticle="1" />

Offline

#55 2007-02-27 22:16:19

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

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

wilshire wrote:

After many requests, the plugin now supports international addresses by allowing you to specify latitude and longitude rather than just a street address.

Beautiful. Thank you!

Offline

#56 2007-02-27 23:32:50

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

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

Hmm, would it be very hard to create a thingy that displays something like “… km from home” in a geocoded article?
Of course first you’d have to define ‘home’. But then?

Offline

#57 2007-03-03 21:49:30

vasile33
New Member
From: Bucharest, Romania
Registered: 2005-08-30
Posts: 3

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

Hi Rob,

Is possible to have an attribute to set the default view as “Hybrid” or “Satellite”? For Romania is not much road detail in Google Maps :)

Regards,
Vasile

Offline

#58 2007-03-06 16:17:48

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

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

Hi Rob,

Is it possible to output just a link to the map?
I’m trying to implement it in a situation where I need a view map link.
When clicked, the map will get displayed. I’m sure there are ways to do this, but for some reason I’m having trouble coming up with one. : )


Tom

Offline

#59 2007-04-08 13:34:45

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 465
Website

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

Thanks for this great plug-in, Rob!

I have a little problem: the map displays in one section, but not in other sections. It just leaves a blank space. But when you check the source of the page, all the required information to display the map is actually there…

This is my code in the article form:

<txp:rss_google_map section="en,jp,nl" latfield="latitude" longfield="longitude" usearticle="1" width="517" />

You can see the results here:

Map displayed: http://oldphotosjapan.com/en/8/osaka-1880s-shitennoji-temple

No map displayed: http://oldphotosjapan.com/nl/10/osaka-jaren-1880-shitennoji-temple

Does anyone have any idea how I can fix this?


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

Board footer

Powered by FluxBB