-
-
Save stan/388283 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// once the google maps is loaded, put a Raphael canvas on top of it | |
// be sure to apply margin:0 to the body in this case | |
var point = new GLatLng(46.065375, 5.448974); | |
var pixel = map.fromLatLngToContainerPixel(point); | |
var paper = Raphael(0, 0, 400, 300); | |
var circle = paper.circle(pixel.x, pixel.y, 10); | |
circle.attr("fill", "#f00"); | |
circle.attr("stroke", "#fff"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment