The map pack 3.5 addon, that some of you may have, I also maintain the markers in a database. With this data, I could easily implement a Google Map page, with flexible search options, and have markers display on a Google Map page, based on search criteria (ie search for a name, search for a particular resource, mob name, etc). My vision is the Map Pack Addon, viewable/searchable via webpage...
I have a generic version (that I would very much like to implement) at http://istariareference.com/istariamap.asp (It works perfectly, except for one major fail, that is preventing me from implementing the database). The coordinates are not displaying correctly. I am asking if anyone can help. I need to convert the current source code to adjust/offset the coordinates. Until this problem is solved, it can not be implemented... Currently there is only one marker defined, Dalimond Pad, this is an example.
Currently the page is showing the NW corner of that map as -4232, 8192 and the SE corner as 1404, 3844.
I am stumped. I need to figure out how to make the NW corner show 13500,41000 and the SW corner show 31500,13000.
You will find a commented out line in the source:
//map.setCenter(new GLatLng(22576,21980,true), 1, G_GAME_MAP);
This would make the coordinates show correctly, except the map will not display if you use it.
I am currently using:
map.setCenter(new GLatLng(0, 0, true), 1, G_GAME_MAP);
As you move the mouse around the map, you can see the coordinates in real time (upper right corner).
The full source code can be obtained by visiting the above link. View Source Code in the browser. That is the full source (there are no other include files).
If you can find a solution please email me [email protected] or post here..
If you need a server to experiment on, let me know, I can give you a FTP login to experiment on...