heron mc zoom inactive overlays

51 views
Skip to first unread message

visiong

unread,
Jun 22, 2016, 8:56:45 AM6/22/16
to Heron Mapping Client Development
Hi all,

I m facing a problem when I make zoom,  to be more specific my overlays are active to be on/off but when I make zoom are getting inactive
here my code:

Ext.namespace("Heron.options.map");
Heron.options.map.settings = {
    projection: new OpenLayers.Projection('EPSG:900913'), 
displayProjection: new OpenLayers.Projection("EPSG:2100"),
units: 'm',
    maxExtent: new OpenLayers.Bounds(-150000, 3176000, 5101000, 6062500),
center: '2464325,4613118',
maxResolution: 'auto',
displayOutsideMaxExtend: 'false',
xy_precision: 2,
zoom: 9,
theme: null
};

I can't understand where is the problem

I 'd be grateful if you cound help me


Balázs Mészáros

unread,
Jun 22, 2016, 1:54:49 PM6/22/16
to Heron Mapping Client Development
You should define Heron.options.serverResolutions = {}, have you tried it?

visiong

unread,
Jun 23, 2016, 6:45:05 AM6/23/16
to Heron Mapping Client Development
Thank you very much Balázs, that's all!!!

giorgos poulos

unread,
May 22, 2017, 8:08:25 AM5/22/17
to Heron Mapping Client Development
How you define server resolution?
I'm trying to create a heron-mc app with epsg 2100 and  i have a lot of problems like measuring or when select objects from map the map  moves to an other are,etc
Reply all
Reply to author
Forward
0 new messages