[ka-Map-users] Ka Icon

GISGuru jeremiahosullivan at gmail.com
Wed Oct 31 12:53:16 EDT 2007


Hi,

I am adding a graphic to a map as the user clicks on the map with a tool. In
FF this works fine. However in IE 7 the graphic is shown at startup but when
the user clicks around the same code does not draw the icon. 

The page is an iframe inside a php page. 

The map page is a html page with the following doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Any Ideas?

Thanks in advance
J
Code to Add Icon

my_point = myXmlOverlay.addNewPoint('Property', longuitude, latitude);
	
		
var my_symbol = new kaXmlIcon();
	my_symbol.icon_src = 'pin_red.gif';
	my_symbol.icon_w = 32;
	my_symbol.icon_h = 32;
	my_symbol.xoff = -16;
	my_symbol.yoff = -14;	
	my_point.addGraphic(my_symbol);

-- 
View this message in context: http://www.nabble.com/Ka-Icon-tf4725136.html#a13509503
Sent from the ka-map-users mailing list archive at Nabble.com.



More information about the ka-Map-users mailing list