[OpenLayers-Dev] VML.js - unspecified error

Jeff Dege jdege at korterra.com
Mon Mar 19 14:56:24 EDT 2007


OK - further exploration.

If I run vectorfeatures.html, it works.

If I convert it to vectorfeatures.aspx, it does not.
 

> -----Original Message-----
> From: dev-bounces at openlayers.org 
> [mailto:dev-bounces at openlayers.org] On Behalf Of Jeff Dege
> Sent: Monday, March 19, 2007 12:53 PM
> To: dev at openlayers.org
> Subject: [OpenLayers-Dev] VML.js - unspecified error
> 
> I'm taking a first look at the new Vector stuff, and I'm not getting
> very far.
> 
> In Renderer/VML.js, is the function supported:
> 
>     /**
>      * @returns Whether or not the browser supports the VML renderer
>      * @type Boolean
>      */
>     supported: function() {
>         var supported = document.namespaces;
>         return supported;
>     },
> 
> This is throwing an "htmlfile: Unspecified error" on the
> "document.namespaces".
> 
> Using Visual Studio 2005, with it's ASP.NET Development Server, and IE
> 6.  In this environment, document doesn't have a "namespaces" element.
>  
> > -----Original Message-----
> > From: users-bounces at openlayers.org 
> > [mailto:users-bounces at openlayers.org] On Behalf Of Lennox Antoine
> > Sent: Monday, March 19, 2007 10:43 AM
> > To: users at openlayers.org
> > Subject: [OpenLayers-Users] Unnecessary WMS Queries?
> > 
> > Hi All,
> > 
> > New to the list. Don't know if this is the appropriate forum, but I
> > have been observing the amount of WMS queries that comes across my
> > client, and it seems like too much.
> > 
> > Take for example the map on the front page of OpenLayers.org. It's a
> > 512x256 map, so I would expect 2 images to cover it, or 6 images in
> > the worst case scenario. If I look at Firefox->Tools Menu->Page
> > Info->Media tab, I see that it has two requests.
> > 
> > Now I click the plus button on the map to zoom in 1 level, 
> and I would
> > expect at most 6 wms tiles to be loaded. Instead 8 wms requests are
> > made. I hit the plus again, and 28 WMS requests are 
> generated (intead
> > of max 6).
> > 
> > If the image isn't cached up, this causes a lot of WMS traffic to be
> > generated on my WMS server, which in turn causes backup 
> since requests
> > can't be fulfilled in time. In my case, I am dealing with alot of
> > images that won't necessarily be cached up, and need 
> quicker response
> > rather than getting coverage. Is there anyway to minimize the amount
> > of WMS requests that are being made?
> > 
> > -Lennox
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> > 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 



More information about the Dev mailing list