Displaying 3 results from an estimated 3 matches for "addoptionstoicon".
2007 Mar 09
0
(no subject)
...ionToMarker is not defined
(no name)()22 (line 169)
(no name)()ym4r-gm.js (line 67)
[Break on this error] map.addOverlay(new GMarker(new GLatLng
(47.7377071331,-2.9257965088),{title : "aa...
here is the generated script...
<script type="text/javascript">
var icon_contact = addOptionsToIcon(new GIcon(),{image : "/images/
gm_contact.png",iconAnchor : new GPoint(10,34),shadow : "/images/
gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new
GSize(37,34),iconSize : new GSize(20,34)});
var icon_reference = addOptionsToIcon(new GIcon(),{image : "/i...
2007 Mar 09
0
Clusterer
...user.user_lat, at user.user_lng], :title => @user.pseudo)
@map.center_zoom_init([@user.user_lat, @user.user_lng],zl)
@map.overlay_init(@marker_myself)
here is the generated script (with the line numbers)
<script type="text/javascript">
161 var icon_contact = addOptionsToIcon(new GIcon(),{image : "/images/
gm_contact.png",iconAnchor : new GPoint(10,34),shadow : "/images/
gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new
GSize(37,34),iconSize : new GSize(20,34)});
162 var icon_reference = addOptionsToIcon(new GIcon(),{image : &quo...
2007 Mar 08
1
map not displayed after Ajax.updater request
....
looking at the response source code , I can see the inserted script
(with the right data...)
<div id="map_box" style="border:solid 2px grey; margin:1em auto;
width:340px; height:340px;text-align;">
<script type="text/javascript">
var icon_contact = addOptionsToIcon(new GIcon(),{iconSize : new GSize
(20,34),shadowSize : new GSize(37
,34),image : "/images/gm_contact.png",iconAnchor : new GPoint
(10,34),shadow : "/images/gm_shadow.png"
,infoWindowAnchor : new GPoint(9,2)});
..........
var map;
window.onload = addCodeToFunction(window.onload...