vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Phoogle! An interactive Google Maps mapping system. (https://vborg.vbsupport.ru/showthread.php?t=141584)

Slave 05-01-2007 06:53 AM

Quote:

Originally Posted by Darat (Post 1238095)
No I haven't got it working with UK street addresses - that will require magnus to make the changes he's made in his development version publicly available or him doing something very clever like switching the yahoo look-up depending on the country.

Ahh .. ok .. thanks for the reply, that makes it much clearer. :)

Doctor Death 05-05-2007 06:58 PM

With a custom skin, when displaying a post with map tags in it, it shows a white box with map controls and a very small bit of map in top left corner of map.

Interestingly enough, when you click on the QUICK REPLY button, the map suddenly appears but there is not the spot marker which you would expect in normal google mapping.

Any ideas on how this conflict is occurring?

Thanks

P.S. I sincerely appologize for my inaccurate comments earlier this spring. I hope that the coders accept this.

Regards.

magnus 05-06-2007 02:22 PM

Quote:

Originally Posted by Doctor Death (Post 1242000)
With a custom skin, when displaying a post with map tags in it, it shows a white box with map controls and a very small bit of map in top left corner of map.

Interestingly enough, when you click on the QUICK REPLY button, the map suddenly appears but there is not the spot marker which you would expect in normal google mapping.

Any ideas on how this conflict is occurring?

Thanks

P.S. I sincerely appologize for my inaccurate comments earlier this spring. I hope that the coders accept this.

Regards.

Sounds like there may be an open HTML tag somewhere. Try running the custom skin through the W3C XHTML Validator to search for possible issues.

Doctor Death 05-07-2007 01:04 AM

I had someone check and sure enough there was an open <table> tag in the header.

Once it was closed properly, it worked like a charm.

Thanks for the clue.

apfparadise 05-14-2007 01:29 PM

I love the hack but it has somewhat limited functionality. For using it to list the address of an event, it would be VERY useful to have a way to link it to "directions" information, so that people can go from seeing the map to actually mapping directions from their locations to the event. Is that possible for future versions ?

bugriders 05-15-2007 09:11 AM

Installed and working!! Thanks. Great hack.

The only thing.... I want to use the map for countries: Belgium and Holland.
If I try I receive: Invallid adress.

I supose I have to change the Geocode API URL

I've been looking for that code on http://www.google.com/apis/maps/docu...oding_Examples

but no results:(

ManniC 05-15-2007 12:35 PM

Also works fine for me, thx magnus :up:

@bugriders:

Some posts above was mentioned that the street-data is verified by yahoo.com, neither uk- or ge-adresses are covered with this solution. magnus wrote that the googlemap-API doesnt give back an error code.

Question: Does anybody have a yahoo-call for verifying german adresses?

Code:

http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=rhaland+5+bottrop
responses "The street could not be found. Here is the center of the city."

When i directly call googlemap-API with the same street-adress, i get back code 200:
Code:


        <kml>

        <Response>
<name>Rhaland 5 Bottrop</name>

        <Status>
<code>200</code>
<request>geocode</request>
</Status>

        <Placemark id="p1">
<address>Rhaland 5, 46242 Bottrop, Germany</address>

        <AddressDetails Accuracy="8">

        <Country>
<CountryNameCode>DE</CountryNameCode>

        <AdministrativeArea>
<AdministrativeAreaName>Nordrhein-Westfalen</AdministrativeAreaName>

        <SubAdministrativeArea>
<SubAdministrativeAreaName>Bottrop</SubAdministrativeAreaName>

        <Locality>
<LocalityName>Bottrop</LocalityName>

        <Thoroughfare>
<ThoroughfareName>Rhaland 5</ThoroughfareName>
</Thoroughfare>

        <PostalCode>
<PostalCodeNumber>46242</PostalCodeNumber>
</PostalCode>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>

        <Point>
<coordinates>6.913915,51.502829,0</coordinates>
</Point>
</Placemark>
</Response>
</kml>

By mistyping the street (Rxaland instead of Rhaland) i get back code 602 which seems to be an error code:
Code:


        <kml>

        <Response>
<name>Rhxaland 5 Bottrop</name>

        <Status>
<code>602</code>
<request>geocode</request>
</Status>
</Response>
</kml>

Anybody an idea ???

Thx in advance

Blittz 05-19-2007 03:08 PM

Installed and working as advertised with no bugs! Congrats on a great product Magnus.

I can think of 3 things I'd love to see added someday.
  1. Ability to pick Map/Satellite/Hybrid in the [map] tag
  2. Add a location that Google doesn't have an address for. Here is an example of what I'm talking about:
    Our RC Flying club uses this park:But to use this hack, I have to use an address that google knows:
    • [map]600 S Columbia Center Blvd, Kennewick, WA 99336[/map]
    While its close, it would be cool to maybe have:
    • [map=url]google_link_goes_here[/map] or something *shrug*
  3. Add a default link below the map to open it up in a new full normal google map window. That way people can now use google's tools to get driving directions, etc...
Great hack even as it stands now, thanks for all your hard work Magus!

truCido 05-21-2007 10:50 AM

Great hack, like the others I am from the UK so having a few problems however I can pin point the road which is good enough for now :)

[map]Bletcham Way,Milton Keynes,Buckshire,MK78HP[/map] worked for me!

One other thing I noticed is that if I goto http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=<texthere> and enter a UK postcode in place of <texthere> it actually returns a result is it possible to have it work from just entering a postcode?

krela 05-30-2007 06:52 PM

Is there any way this would work by putting in lat/long yourself and not relying on a geocoder at all?

i.e.

Code:

[map=name]lat, long[/map]
I know this bypasses some functionality, but it would make this module workable for people who either a) don't want to use it specifically for postal addresses or b) have international geocoding issues.

Preferably the option for both would be cool, some kind of check to see if the code given is already in lat/long format, if not parse it through a geocoder.

It must be possible reasonably easily because the geocoder simply converts the address to long/lat anyway.

This would make it the perfect mod for me!


All times are GMT. The time now is 12:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01322 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete