This is the P2PU Archive. If you want the current site, go to www.p2pu.org!
You haven't posted any discussions yet.
It's probably something obvious, but I just can't seem to find it. I can't get a second point to show up on my map:
http://jsfiddle.net/rrosso/Kq4Aw/
It looks like I'm doing exactly what is in http://jsfiddle.net/UAxun/70/, but only one point shows up. Any ideas what I'm missing?
Thanks,
Randy
Oh, also - my Chrome developer Javascript console is giving me lots of errors/warnings that sound ominous, like:
Unsafe JavaScript attempt to access frame with URL http://jsfiddle.net/rrosso/Kq4Aw/ from frame with URL http://fiddle.jshell.net/rrosso/Kq4Aw/show/. Domains, protocols and ports must match.
fiddle.jshell.net/rrosso/Kq4Aw/show/:58Uncaught TypeError: Object #
Try changing this
rotatedStyle = OpenLayers.Util.extent( {}, sampleStyle ); //copy sampleStyle and modify
to this
var rotatedStyle = OpenLayers.Util.extend( {}, sampleStyle ); //copy sampleStyle and modify
1) added 'var' and 2) s/extent/extend
Cheers
My hero! Thanks for finding my typo - that worked perfectly.