Hi, I'm a little confused - I'm trying to do a couple of things with one of our maps - and I can't for the life of me work it out. the page I'm talking about is http://www.chillnet.net/trunktestapi.htm. I have set it up to display the name of each of our depots when you hover over each of the markers, and then if you click on the marker it will zoom in to the location and change the map to satellite. If you then click the marker again, it will return to the full map. My main problem is that I want to be able to control the map with the links on the right. ie - if I click Bridgwater, it will do the same as if I click the marker. The files I'm using are http://www.chillnet.net/pdmarker.js, map.js and depotlist.json. Any help would be appreciated - the other problem isn't so important right now - but I want to change the marker to our logo (http://www.chillnet.net/chillIcon.png) but I'm sure I'll be able to work this bit out. Thanks in advance, Andrew
I managed to sort out the icons, I just added a bit of code that calls the icon in a function makeIcon, then i created a new field in the depotlist.json file that states which icon to use for each of the depots. Oh, and I've added the trunk routes to the map - so don't worry about the blue lines. There must be someone out there who knows how to control the map from a link?