[OpenLayers-Users] VectorLayer disappears at zoom 17 (and lesser).

Salvaro asufsc at gmail.com
Thu Sep 18 10:15:52 EDT 2008


I've one problem to do this, as the another time I'm programming direct in
Java with GWT+openlayers, and haven't a way to put it in a server with a
legible code.

I guess it should be a problem when calculates/uses the resolution/scale (is
possible to configure it manually?).
The fact of the map was in sphericalMercator or not (vl only appear when
sM=false) have any influence in it?

I'll try to recreate the problem directly in JavaScript.

Thanks,
Salvaro. 


Christopher Schmidt-2 wrote:
> 
> On Thu, Sep 18, 2008 at 06:15:34AM -0700, Salvaro wrote:
>> 
>> I did it (upgraded to the OL 2.7).
>> But the problem with vectorLayer continues.
>> It's still appearing with WMS and in the Google Maps with
>> sphericalMecator=false (with the known problem when pan), but when I set
>> sphericalMercator=true, the vectorLayer disappears and only appears on
>> the
>> zoom level 17 (I'm using 19 levels)..
> 
> Please create/publish/share an HTML example that demonstrates this.
> 
> -- Chris
> 
>> Thanks,
>> Salvaro.
>> 
>> 
>> Andreas Hocevar-2 wrote:
>> > 
>> > Salvaro wrote:
>> >> Andreas,
>> >>
>> >> Is this patch compatible with the OL 2.6?
>> >>   
>> > 
>> > It won't apply to VML.js from 2.6, but if you walk through the hunks
>> and
>> > apply them manually, it will work.
>> > 
>> > Note, however, that there were many other vector rendering improvements
>> > between 2.6 and 2.7, so you might want to upgrade.
>> > 
>> > Regards,
>> > Andreas.
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://n2.nabble.com/VectorLayer-disappears-at-zoom-17-%28and-lesser%29.-tp1079719p1098120.html
>> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
> 
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/VectorLayer-disappears-at-zoom-17-%28and-lesser%29.-tp1079719p1098257.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list