I'm going to try, but for zooming options, there is a maximum zoom?
Because I tryed to use the centerPosition with a zoomFactor of 25, and it worked, but if I decrease the zoom I can't re-increase
I tryed to add maxZoom="50" to the ejs-map but it doesn't works.
**
* Maps default sample
*/
import { Component, ViewEncapsulation, Inject } from '@angular/core';
import {Maps, Zoom } from '@syncfusion/ej2-angular-maps';
import italy from './Italy.json';
Maps.Inject(Zoom);
declare var require: any;
@Component({
selector: 'app-root',
template: ejs-maps id='myMap' [zoomSettings]='zoomSettings' maximumZoom='70' [centerPosition]="pos" style="display:block;">
e-layers>
e-layer [shapeData]='shapeData'>/e-layer>
/e-layers>
/ejs-maps>
encapsulation: ViewEncapsulation.None
})
export class AppComponent {
public zoomSettings: object = {
enable: true,
enablePanning: true,
pinchZooming: true,
mouseWheelZoom : true,
zoomFactor : 30
};
public shapeData: object = italy;
pos = { latitude: 45.4398, longitude: 12.3319}
constructor() {
};
}
(I've removed all tags "<")
Thanks