Are you a Google Analytics enthusiast?
More SEO Content
Yahoo Maps Beta
Posted 06 November 2005 - 10:54 AM
Torka and Lyn, I have a question.
Do you need it to pump out the code to show just one location per map? Or do you need it to show multiple locations on the same map?
I'll probably start tinkering with it later this afternoon/evening. My idea is to build a little app that will allow you to input an address and other details you need to show on your company locator map, then have it spit out some code you can slap into a page wherever you need it. So any parameters you have in mind would be helpful.
Posted 07 November 2005 - 08:14 AM
Okay, you've twisted my arm. Multiples sounds good to me (although, to be honest, I'll probably only be doing one at a time at least in the short term... we've got approval to do a major site overhaul in first quarter next year, so I could incorporate more "advanced" features of this into the new site scripts...)
Okay by you?
Posted 07 November 2005 - 08:43 AM
I spent about an hour on it yesterday evening and I've already got it basically figured out the easiest way do it. Now just need to make a little page for folks to enter the data. Of course part of trick is allowing you to tweak what it says in the little text balloon instead of keeping the Y! default text.
Posted 07 November 2005 - 01:47 PM
Randy, the use I have in mind would be a clickable locator that displays one map - US or North America, for instance - at the start up. Visitors can click on the area they're shopping in, and get a closer-in view of my service locations.
For most of my clients, dealers tend to have large territories, like, one or a couple locations per state.
Thanks for looking at this!
Posted 08 November 2005 - 09:29 AM
I'll try and fit this sometime into my schedule around 2010, Randy, how's that sound?
I took a look at this the other day. As a digital cartographer, it's in my line of work, although I don't think we're thinking of doing any Mashing any time soon.
Besides, their projection of the US is really nasty
Posted 08 November 2005 - 09:50 AM
Torka: See if this is anywhere close to what you had in mind. It's a single location thing for now, but adding in the additional locations won't be that hard once the basics are down.
It allows you to put in a location, ranging from an exact address to just a city and state or even just a state, will show you a warning if the exact address they have on file is different from the one supplied. It also allows you to add a company name and other details that mimic the info balloons that Yahoo! Maps normally gives, automatically centers on the (current) single location given. Has Zoom control and panning embeded. And last but not least spits out all of the code you need so that you can simply copy and paste the block into your web page once you're satisfied with the output.
Not nearly done yet of course (I want to add dynamic initial zoom features for one) but is this headed sort of down the path you had in mind?
Posted 08 November 2005 - 10:16 AM
One thing -- it didn't display anything in the "bubble," just the number "1". I was expecting the company name and the stuff I had put in the supplied fields...
(Dynamic zooming on the front-end would be cool, but I was able to change the zoom level to what I wanted in the code on the back end anyway. I can't write the stuff to save my life, but I can read and tweak with the best of 'em -- especially when it's commented as well as your code is. )
But this is totally awesome even as-is. Most excellent! Yes, exactly what I had in mind. You are, as usual, my hero.
Posted 08 November 2005 - 11:29 AM
Randy.. nice work. i looooooooove API's!
Posted 08 November 2005 - 11:47 AM
That one is controlled by the JS script on Yahoo itself. I'll have to look to see if someone could use an onload function to have it immediately appear as Open instead of Closed.
Posted 08 November 2005 - 12:00 PM
Raph, is that meant in the psychological sense?
Posted 08 November 2005 - 12:27 PM
Any map of the US where the border between the US and Canada is a straight horizontal line has been projected badly. (Or not projected at all)
As much as people don't like to believe it, the earth is not a flat surface , and unless you're talking about the equator, a line of latitude should appear as a curve - depending on the purpose of the map, that is.
One of the most well-known map projections, Mercator, is a horrendously unrealistic map. The northern hemisphere occupies 75% of the map, obviously an incorrect value. However, Mercator is widely used by navigators because you can calculate a course by it. Its known as an equal angle map. If you're at a spot on the earth, 10 degrees north on the map will take you to the place you wanted to go.
Most atlases these days have a form of "equal" area projection on it, which are more realstic and pleasing to the eye - 1 square foot of ground = 1 square inch of map, or that sort of thing. (Mercator's doesn't do this, by the way - In a mercator projection, Africa is the same size as Greenland)
Projecting a 3-dimensional sphere onto a 2-dimensional flat surface can be done in many ways, and each of them have their own uses. But looking at Yahoo's map, it looks to me like they haven't projected their data at all, and are working in pure lat/long.
That doesn't mean their data is inaccurate, but it certainly doesn't look as good as Google Earth...
Edited by Raphael, 08 November 2005 - 12:38 PM.
Posted 08 November 2005 - 01:25 PM
Posted 08 November 2005 - 02:58 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users