|
|
Sponsor |
Re: [OSM-dev] [OSM-talk] osmabrowser -- test now on other browsers?: msg#00036gis.openstreetmap.devel
On Saturday 07 Oct 2006 12:38, you wrote: > Nick Whitelegg wrote: > >> Nick Whitelegg wrote: > >> > I *may* have corrected what was causing problems with osmabrowser on > >> > browsers other than Firefox 1.5. Namely, the mime type wasn't set > >> > correctly - for SVG it should be image/svg+xml, not text/xml. > >> > > >> > I can test on IE tomorrow but would appreciate tests on other browsers > >> > e.g. Konqueror (still doesn't work on 3.3.4 but I'm guessing that's > >> > because SVG was only supported with more recent versions) > >> > >> Konqueror 3.3.5 I get error > >> "A legal svg document requires a <svg> root element > > > > Not sure why I get this - it does have an svg root element! Anyone... > > Should be Konqueror 3.5.5.. > http://www.w3.org/TR/SVG/struct.html#NewDocument > > <!-- parent contents here --> > <svg:svg width="4cm" height="8cm" version="1.1"> > <svg:ellipse cx="2cm" cy="4cm" rx="2cm" ry="1cm" /> > </svg:svg> > > <svg width="5cm" height="4cm" version="1.1" > xmlns="http://www.w3.org/2000/svg"> > </svg> > > I have never seen svg but maybe this is missing.. > tpjohthe:/tmp$ grep "<svg " > gensvg.php\?bbox\=-0.75\,51.0125\,-0.7\,51.0375\&scale\=1 tpjohthe:/tmp$ > grep "<svg:svg" gensvg.php\?bbox\=-0.75\,51.0125\,-0.7\,51.0375\&scale\=1 That's probably because gensvg.php dynamically generates an osm-map-features.xml file, using the live API with the supplied bounding box as the data source. The XSL is then applied to this, generating the SVG in-browser. Might be better to set the mime type to text/xml after all, as that's what's sent back from the server originally. Have done that. Does it work now? Nick
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [OSM-dev] [OTish] php on the command line, Nick Whitelegg |
|---|---|
| Next by Date: | Re: [OSM-dev] [OSM-talk] osmabrowser -- test now on other browsers?, Nick Whitelegg |
| Previous by Thread: | Re: [OSM-dev] [OSM-talk] osmabrowser -- test now on other browsers?, Nick Whitelegg |
| Next by Thread: | Re: [OSM-dev] [OSM-talk] osmabrowser -- test now on other browsers?, Nick Whitelegg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|