cfree / wp-karten

DEPRECATED: A WordPress plugin to plot Instagram posts to a Google Maps maps
5 stars 0 forks source link

Adding two of the same map on the same page #7

Open cfree opened 9 years ago

cfree commented 9 years ago

The first map will successfully add ktn-show class to the parent of the [data-ktn-id] selector, which will cause all instances of that ID display whether they have a successful map or not. The current workaround is to hide any subsequent instances.

The Google map instance is stored in the window.KartenData{#}.map property and cannot be added twice.