mapping-component-package-jp 0.0.49 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@ export class MapOverlayManager {
|
|
|
64
64
|
NDVI_DrawLocation(locationJson: any[], offsetX: number, offsetY: number, vMapWidth: number, showTooltip: boolean): void;
|
|
65
65
|
|
|
66
66
|
//Other tiles
|
|
67
|
-
NLC_AddOverlay(tileURL: string, offsetX: number, offsetY: number): void;
|
|
67
|
+
NLC_AddOverlay(tileURL: string, isInit: boolean, saBcLat: number, saBcLng: number, offsetX: number, offsetY: number): void;
|
|
68
68
|
NLC_RemoveOverlay(): void;
|
|
69
69
|
|
|
70
70
|
|
|
@@ -3726,11 +3726,12 @@ export class MapOverlayManager {
|
|
|
3726
3726
|
}
|
|
3727
3727
|
|
|
3728
3728
|
|
|
3729
|
-
_this.NLC_AddOverlay = function (tileURL, offsetX, offsetY) {
|
|
3729
|
+
_this.NLC_AddOverlay = function (tileURL, isInit, saBcLat, saBcLng, offsetX, offsetY) {
|
|
3730
|
+
|
|
3731
|
+
if(isInit) {
|
|
3732
|
+
offsetCenter(new google.maps.LatLng(saBcLat, saBcLng), offsetX, offsetY);
|
|
3733
|
+
}
|
|
3730
3734
|
|
|
3731
|
-
bounds = map.getBounds();
|
|
3732
|
-
offsetCenter(bounds.getCenter(), offsetX, offsetY);
|
|
3733
|
-
|
|
3734
3735
|
if (map.getZoom() > 14) {
|
|
3735
3736
|
|
|
3736
3737
|
//console.log('zoom > 14');
|