> Web security issues make it increasingly difficult to create a "web
> application" that ISNT a web application. Ie with local files. And even
> harder to mix web content with non-web content. I investigated this very
> thoroughly when looking at a means to provide an OS-neutral browser to a
>
Web security issues make it increasingly difficult to create a "web
application" that ISNT a web application. Ie with local files. And even
harder to mix web content with non-web content. I investigated this very
thoroughly when looking at a means to provide an OS-neutral browser to a
1TB datap
Phil Scadden writes:
> So why is it KML at all? If this application has to be a web application
> (and it sounds from earlier comments that perhaps it is actually meant
> best as a local desktop), then you have to beat the problem of
> minimising data transfer. Using a WMS server and convertin
> Yes, I know, that kml file is too big, but I don't know, how I can make it
> lighter. I need to add some more kml files and one GeoTiff, I think, so it
> will be really bad, will not? Do you have some ideas, how I could do it
> better? But maybe it is another topic too.
So why is it KML at all?
> Below some code to show how you can accomplish your task. You have to use
> the projection sphericalMercator, to get your features at the right place.
Thanks a lot! After few hours kml layer is in right place :). But I have a
problem with overview map and coordinates which I see after click on
Hi,
Below some code to show how you can accomplish your task. You have to use
the projection sphericalMercator, to get your features at the right place.
Both your kml files are in projection EPSG:4326. OpenLayers is able to
reproject vector data from EPSG:4326 (WGS84) to EPSG:900913
(sphericalMe
> So do You think, that it should be problem? Yes I have all files (html, css,
> js)
> in my computer, only kml file I have on server now because when I had all
> files only in computer, I had problem with cross origin request (I wrote it
> before). I would like to paste other files to the server
Gesendet: Donnerstag, 10. Februar 2011 16:09
An: openlayers-users@lists.osgeo.org
Betreff: [OpenLayers-Users] Re: adding KML file
Charles Galpin writes:
>
> Did you try it? This has been the issue all along. All the files need
> to come
from the same server/port or you hit browser
Charles Galpin writes:
>
> Did you try it? This has been the issue all along. All the files need to
> come
from the same server/port or you hit browser security restrictions.
> If your kml is coming from http://dvphoto.xf.cz/ then load your html
from http://dvphoto.xf.cz/some/where.html
>
>
Did you try it? This has been the issue all along. All the files need to come
from the same server/port or you hit browser security restrictions.
If your kml is coming from http://dvphoto.xf.cz/ then load your html from
http://dvphoto.xf.cz/some/where.html
hth
charles
On Feb 10, 2011, at 5:08
l.s.borges writes:
> var layerKml = new OpenLayers.Layer.Vector("KML",{
> strategies: [new OpenLayers.Strategy.Fixed()],
> protocol: new OpenLayers.Protocol.HTTP({
> url: "http:/lines.kml",
> format: new OpenLayers.Format.KML
> })
> });
No, still the same problem :(
__
Try this way:
var layerKml = new OpenLayers.Layer.Vector("KML",{
strategies: [new OpenLayers.Strategy.Fixed()],
protocol: new OpenLayers.Protocol.HTTP({
url: "http:/lines.kml",
format: new OpenLayers.Format.KML
})
});
Em 10/02/2011 08:08, vrbikdan < vrbik...@gmail.com > escreveu:Phil Scadde
Phil Scadden writes:
>
> Just another thought. Your html file is ALSO on the server ?(you arent
> trying to have a local file accessing a remote server file?).
So do You think, that it should be problem? Yes I have all files (html, css,
js)
in my computer, only kml file I have on server now
Just another thought. Your html file is ALSO on the server ?(you arent
trying to have a local file accessing a remote server file?). You can
get away with this for WMS but I dont think so for gml. In everything
except Chrome you should be able to get away with local html accessing
kml is same d
Well that looks right. However, the error message relates to attempted
execution of offsite code. What error do get with firebug? Are you
absolutely sure it is this layer causing issue?
Notice: This email and any attachments are confidential. If received in error
please destroy and immediately
Phil Scadden writes:
>
> On 10/02/2011 2:53 a.m., vrbikdan wrote:
> > Origin null is not
> > allowed by Access-Control-Allow-Origin
> This has nothing to do with the KML and everything to do with the URL
> for KML file. That error is a violation of XHR cross-domain rules when
> it tries to fet
On 10/02/2011 2:53 a.m., vrbikdan wrote:
> Origin null is not
> allowed by Access-Control-Allow-Origin
This has nothing to do with the KML and everything to do with the URL
for KML file. That error is a violation of XHR cross-domain rules when
it tries to fetch the file. Want to show us the new c
Charles Galpin writes:
>
> Dan, I think you understand correctly, but unless someone else chimes in, I'm
pretty sure this is your only choice. The good news is that it's very easy to
run your own web server (and for anyone you distribute your cd to). Check out
>
> http://portableapps.com/apps
18 matches
Mail list logo