Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS only] markers disapear after first render, then reapear after moving or zooming #2774

Open
2 of 5 tasks
elmismopancho opened this issue May 13, 2020 · 4 comments
Open
2 of 5 tasks

Comments

@elmismopancho
Copy link

I'm submitting a ... (check one with "x")

  • question
  • any problem or bug report

OS: (check one with "x")

  • Android
  • iOS
  • Browser

cordova information: (run $> cordova plugin list)

clevertap-cordova 2.1.8 "CleverTap"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-email-composer 0.9.2 "EmailComposer"
cordova-plugin-facebook4 6.1.0 "Facebook Connect"
cordova-plugin-geolocation 4.0.2 "Geolocation"
cordova-plugin-globalization 1.11.0 "Globalization"
cordova-plugin-googlemaps 2.6.2 "cordova-plugin-googlemaps"
cordova-plugin-googleplus 8.2.1 "Google SignIn"
cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"
cordova-plugin-inapppurchase 1.1.0 "In App Purchase"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.2 "cordova-plugin-ionic-webview"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.6.3 "SocialSharing"
cordova-sqlite-storage 3.4.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
cordova-support-android-plugin 1.0.1 "cordova-support-android-plugin"
cordova-support-google-services 1.3.2 "cordova-support-google-services"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-deeplinks 1.0.20 "Ionic Deeplink Plugin"
mx.ferreyra.callnumber 0.0.2 "Cordova Call Number Plugin"
uk.co.workingedge.phonegap.plugin.launchnavigator 5.0.4 "Launch Navigator"

Current behavior:
Markers appear on screen and then disappear. They reapear after moving or zooming. I'm using markers and marker clusters. Tested on an iPhone 7 and an iPad Mini 4

Expected behavior:
Markers should not disappear. Works fine on android.

Screen capture or video record:
See video

Related code, data or error log (please format your code or data):
I cannot post the full project, but the relevant part is:

var map = new google.maps.Map(document.getElementById('mapStations'), {
	center: {
		lat: -33.4427816,
		lng: -70.6400344
	},
	zoom: 14,
	disableDefaultUI: true
});

var estaciones = [ /* data goes here, around 650/700 items */];

var markers = estaciones.map(function(estacion, i) {
	return {
		'position': {
			'lat': estacion.lat,
			'lng': estacion.lng
		},
		'icon': {
			'url': 'img/pin-copec-solo.png'
		}
	};
});

var markerCluster = map.addMarkerCluster({
	'boundsDraw': false,
	'markers': markers,
	icons: [
		{min: 25, url: "./img/markercluster/blue.png", anchor: {x: 16, y: 16}}
	]
});

This issue only manifest on iOS. Thanks in advance for any info.

@wf9a5m75
Copy link
Member

There is no quick solution at this time.

wf9a5m75 added a commit that referenced this issue May 14, 2020
dkessas added a commit to dkessas/cordova-plugin-googlemaps that referenced this issue Sep 3, 2020
@davayd
Copy link

davayd commented Nov 4, 2020

Is there any solution yet ?

@KhinMyintMyatThu
Copy link

+1 Is there any solution for that?

@Py6aHoK
Copy link

Py6aHoK commented Feb 27, 2021

+1 Is there any solution for that?

try to transfer images as base64 and not as links to files

paulnagle pushed a commit to paulnagle/cordova-plugin-googlemaps that referenced this issue Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants