Closed MajorPainage closed 11 years ago
You can't add Celle map manually!
Just did. Vehicles on the Y axis appear ok, Vehicles on the X axis appear to far right on the map.
Probably easier to widen the map to adjust to the vehicles.
I don't understand this part of your code and what it does.
$map_array['pixelOrigin_'] = '117.9, 96.4';
$map_array['pixelsPerLonDegree_'] = '227 / 360';
$map_array['pixelsPerLonRadian_'] = '227 / (2 * Math.PI)';
map should be on this site too http://dayzdb.com/map, without this map it's impossible to display map
I downloaded a map from google. Then adjusted the size to 3x256 wide by 4x256 high. Then I created my own 256x256 block images and saved them to mbg_celle2/2/ It shows fine as zoomed out, but still issue with alignment of vehicles. Going to try playing around with the map and widen it and see if it helps.
so then you need to play with this complex code you need to change x and y $maparray['pixelOrigin'] = '117.9, 96.4'; and play with $maparray['pixelsPerLonDegree'] = '227 / 360'; try change 227 to other value it's not easy :) good luck
Sounds good - Thanks for the pointer.
I added Celle, and have it aligned pretty close.
I am trying to add Celle, and I edited the functions.php and added:
But when trying to view map, it still says map not supported.
What am I missing.