impress-org / google-maps-builder

One Google Maps plugin to rule them all. Google Maps Builder is intuitive, sleek, powerful and easy to use. Forget the rest, use the best.
https://wordpress.org/plugins/google-maps-builder/
32 stars 9 forks source link

fix: prevent error when marker is present #282

Open nishitlangaliya opened 5 years ago

nishitlangaliya commented 5 years ago

Bug Report

User Story

As a user, I want to avoid errors when loading markers so that my map renders correctly.

Current Behavior

When a map loads with markers, I see Uncaught TypeError: Cannot read property '0' of undefined error in console while loading map in front for free version.

js_error

Expected Behavior

The map loads without error and markers appear.

Acceptance Criteria