[OpenLayers-Users] Questions from a Newbie

KennethK kenny.keith at us.army.mil
Thu Aug 19 03:53:19 EDT 2010


Hello, Im Kenneth! 

I came across OL about a month ago and i must say im rather impressed with
the functionality... unfortunately ive run into a few issues that i am
unable to really determine an answer to. I would appreciate any "detailed"
help i could get. 

1. Ive been able to get a complete Suite up and running with
WMS/Rendering/Tiling/Etc. now im trying to create the map interface. Ive
been rather successful with the basic features and have gotten a pretty good
map running off tiles, Text Layer and Popups etc. But the problem im running
into now is i would like to import a KML file filled with points and display
them with custom icons on the map. Ive got that working. But they are just
points, no real way to determine what they are. Ive seen various posts and
forums where people have been able to do some cool stuff, but i dont quite
understand how it was done. Ideally i would like to mimic the view of
openflights.org where their airports are loaded, have small labels under
them, and when you hover over the point it gives a tooltip. I know how to do
click popups, and mouse over popups, but i would really just like to have a
label displayed near the point and perhaps a mouse over extended label. The
idea behind what im doing is that the kml file will be rendered and sent to
the server, so the server needs to be able to plot / parse all the points on
the map dynamically via the OpenLayers.Layer.GML (Format.KML) concept. But
perhaps im just missing something somewhere.... which occassionally i do,
there are no labels, even when i put in stylemaps, etc. Any help would be
wonderful! Thanks 

2. Ive been able to import kml files into my GML layer, it plots and i have
a load of pretty points. But if i need to access the point via programming
in order to get it's "attributes" whether its the Coord or name, how do i
get that information? If a kml layer has say 10 points on it, and i want to
get the data programmatically in order to do something with it.... then is
there a way to identify it without a click/getfeature? which is probably the
only way...... 

anyways im still learning and i havent done anything with programming in
years so im having to brush up on alot of stuff.... i would appreciate any
help that someone can provide. Thanks! 

Kenneth 
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Questions-from-a-Newbie-tp5439265p5439265.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list