Extension talk:YahooMaps

Latest comment: 15 years ago by Jeroen De Dauw in topic Maps and Semantic Maps

Syntax

edit

What syntax's work with this extension. The current write up is too smart for me to understand. I'd love to be able to know how to default the map to a hybrid.

Jacob Roecker

Currently you can only set latitude, longitude, zoom and the css style for the map. However, changing all maps to a hybrid should be relatively easy--just change the YAHOO_MAP_REG in the code to YAHOO_MAP_HYB. --Cmreigrut 19:12, 14 September 2007 (UTC)Reply

Automatically geocoding

edit

I want a user to be able to just enter in an address, and this would automatically be geocoded. Is this possible? Right now, it seems that you have to do this on the front end with the <yahoogeocoder /> functionality, then edit the page, and then insert the coordinates, etc manually. Is it possible for someone to just put a location or address on the backend, and it automatically change that to the correct coordinates and show the map? --63.251.157.172 17:14, 9 June 2008 (UTC)Reply

That would be a lot more complex, since you actually have to store the tag somewhere (in this case, we store it in the page itself inside the tag). You would have to modify the app to actually do a page submit, which would make life a lot more difficult, especially if you had multiple maps on the same page.
Another possibility would be changing the app to have a second tag type that would be an address, which it would then geocode before displaying. So maybe something like:
<yahoomap style="height: 450px; width: 800px;" lat="27.40419601" lon="-100.0081949" zoom="16">
  1000 S. McCaslin Blvd, Superior, CO,  80027 | KEF | Superior, CO<br />''Home of [http://www.kefonline.com Key Equipment Finance]''
</yahoomap>
The main drawback is performance--you'd have an extra call to Yahoo for each address it had to geocode on the fly.
Let me know your thoughts! --Cmreigrut 17:34, 9 June 2008 (UTC)Reply

Maps and Semantic Maps

edit

Hey,

What are you plans with this extension?

I encourage you to have a look at Maps and Semantic Maps. Particularity their hook like system for mapping systems, and current usage of Yahoo! Maps.

Cheers

--Jeroen De Dauw 00:31, 15 August 2009 (UTC)Reply

Return to "YahooMaps" page.