I'm writing a map based simulation using the HTML5 canvas and javascript.
the mechanics of the simulation are working well but to be application to real space is not progressing at all.
I'm currently using the canvas coordinates to run the simulation but I would like to use map coordinates to run the sim. Has anyone managed to insert an interactive map into a html5 canvas? in a way that mouse clicks and entities within the canvas can reach the map?
Thanks
أكثر...
the mechanics of the simulation are working well but to be application to real space is not progressing at all.
I'm currently using the canvas coordinates to run the simulation but I would like to use map coordinates to run the sim. Has anyone managed to insert an interactive map into a html5 canvas? in a way that mouse clicks and entities within the canvas can reach the map?
Thanks
أكثر...