Codeinwp / intergeo-maps

3 stars 9 forks source link

Not being able to edit the map #85

Open HardeepAsrani opened 5 years ago

HardeepAsrani commented 5 years ago

In the latest version, once you make a map you can't edit it. @contactashish13

HardeepAsrani commented 5 years ago

PS: You also can't add new maps until you delete the old one.

selul commented 5 years ago

@contactashish13 it might be related to the latest changes maybe?

HardeepAsrani commented 5 years ago

The console error is something about "layers." And I see the Maps have a Section for layers which is empty. I guess we removed some feature?

contactashish13 commented 5 years ago

@HardeepAsrani can you test https://github.com/Codeinwp/intergeo-maps/pull/86? If this is for some customers site, can you tag me on HS as there might be other scenarios that need to be tested.

HardeepAsrani commented 5 years ago

@Codeinwp/admins Works.

radu-themeisle commented 5 years ago

@contactashish13 I gathered 3 issues submitted 2 days ago and refer to the 2.3 update:

  1. maps are not loaded correctly and there's the error: TypeError: undefined is not an object (evaluating 'd.options.layer.importcsv') TypeError: undefined is not an object (evaluating 'd.options.layer.importcsv')
  2. Users report that after creating 1 map the "Add New" button doesn't work
  3. Users with several maps report that upon update they only see 1 map

One of them has deactivated all the plugins and still has the issue. I'll try to see if I can find a bit of time to test this and if your PR solves the issue.

radu-themeisle commented 5 years ago

@contactashish13 I was able to replicate my 3 reported issue and Hardeep's (adding a new map) and I can confirm #86 solves them.

Unfortunately, I noticed other issues:

radu-themeisle commented 5 years ago

@contactashish13 what's the status on this? Can we have a fix this week? We have another pro user reporting these issues: http://prntscr.com/n6fug7

https://secure.helpscout.net/conversation/793986123/182696?folderId=212385

contactashish13 commented 5 years ago

@radu-themeisle It looks like you have not tested with a valid google map key that's why you are getting that popup. That popup is from google and its behavior is something we cannot do anything about. Can you please retest these with a valid key and let me know what you find?

radu-themeisle commented 5 years ago

@contactashish13 I tested with a valid API key and the map works without issues ~~but I still can't add a new one or edit the one I just created, it just seems the controls are inactive. I noticed some errors in the console, maybe it helps you: http://prntscr.com/ng5yrh~~ (sorry, just figured I didn't test the PR, but the current WP.org version)

So, after taking the correct version (#86) I can confirm again that the issues are resolved.