walpurgisnacht hat geschrieben:What's the format for entry into your map, and whats the format for the coordinates from the list you were sent? Is the list format hexadecimal?
My map is really pretty straightforward. My pages use a couple of java scripts to capture map coordinates and then plot them on the interactive map.
Both pages use the same single 4096 x 4096 2D map image of Enderal. The map point plotter page captures X,Y pixel coordinates when the mouse is clicked on the map at a specific location. The map origin (0,0) is at the top left-hand corner of the map. Thus, the center point of the map would be the pixel at (2048,2048) and the bottom right-hand corner would be the pixel at (4096,4096). To store a point on the map, I just add the X,Y coordinates from the plotter page to the database.
The actual map page just queries the database for all those points and plots them based on the same X,Y pixel coordinates and then uses javascript to keep the points in their relative positions as the map is scrolled around and zoomed in and out on the interactive page.
The spreadsheet of coordinates that I got all have an X,Y and Z value. The coordinates are all numerical positive and negative values for X and Y and almost all positive numerical values for Z. So I assume the Z values are altitudes since the in-game map is 3D. Sorting the X and Y values seems to indicate that they are some measure of distance from a center point of (0,0). But since I don't know how large the map is, I don't have a frame of reference to translate those coordinates over to my 4096 x 4096 coordinates.
For example, the coordinates on the list for the Myrad Tower at Ark's Westwall are X: -15601.251953, Y: -11077.480469, Z: 1122.692871.