14 reputation
3
bio website
location
age
visits member for 2 years, 1 month
seen Oct 7 '12 at 11:43

Oct
7
revised problem in reading kml data in openlayers
edited body; edited title
Oct
5
comment problem in reading kml data in openlayers
Thanks, I checked your link. It has the same problem. Doesn't show the points. Do you think I should put the KML file in a special path? (like App_Data) ?
Oct
5
comment problem in reading kml data in openlayers
did you store the KML file in a special path? For me the problem is that it cannot find and access the KML file on the server. How can I solve this problem?
Oct
5
comment problem in reading kml data in openlayers
I checked it. It seems that the kml file could not be accessed. it gives an error 404 (not found). but I replaced it with a textfile and it worked fine. Is it something related to server settings issue, should I store KML files in a special path in the server???
Oct
5
comment problem in reading kml data in openlayers
you're right. the kml file could not be accessed. it gives an error 404 (not found). but I replaced it with a textfile and it worked fine. Is it something related to server settings issue, should I store KML files in a special path in the server???
Oct
5
awarded  Commentator
Oct
5
comment problem in reading kml data in openlayers
Would you mind sharing the code that worked with me?? you can also email it to me: amin.mobasheri@yahoo.com
Oct
4
comment problem in reading kml data in openlayers
are u using the same code of mine? or making some editings? do you define a symbol to show on map for the circle or is it by Openlayers default settings?
Oct
4
comment problem in reading kml data in openlayers
How is that possible? I'm using Chrome, what browser are u using? maybe its related to browser???
Oct
4
comment problem in reading kml data in openlayers
yes, but as i mentioned, I don't see any error reports. the page loads fine and shows my vector layer (in layer switcher), but the problem is that it doesn't show my data in KML (point symbols)... any clue?
Oct
4
revised problem in reading kml data in openlayers
added 2 characters in body
Oct
4
comment problem in reading kml data in openlayers
You're right. But still doesn't work... :( anymore clue?
Oct
4
awarded  Editor
Oct
4
comment problem in reading kml data in openlayers
Now, I updated the codes in original post. Yes, I am running it on server...
Oct
4
revised problem in reading kml data in openlayers
added 60 characters in body
Oct
4
comment problem in reading kml data in openlayers
Yes, I have also changed the datasource from XML to KML as well. The codes and KML file are now updated up top. Used f12 in Chrome, but does not show any messages (error reports). The page loads, the OSM map loads, but there is no feature symbols on the map...
Oct
4
comment problem in reading kml data in openlayers
I cannot see any error reports to share with you, the page loads, the OSM map loads, but there is no feature symbols on the map...
Oct
4
comment problem in reading kml data in openlayers
btw, the code is now changed to: var layer = new OpenLayers.Layer.Vector("KML", { strategies: [new OpenLayers.Strategy.BBOX({resFactor: 1.1})], protocol: new OpenLayers.Protocol.HTTP({ url: "points.kml", format: new OpenLayers.Format.KML() }) });
Oct
4
comment problem in reading kml data in openlayers
thank you for your response. I changed it to KML format. and changed the code as well, but still does not work. any clue?
Oct
4
asked problem in reading kml data in openlayers