collective / collective.geo.bundle

8 stars 2 forks source link

Invisible maps for Plone 5.0.6 #37

Open sadov opened 7 years ago

sadov commented 7 years ago

Map in "Coordinates" tab for georeferency enabled types is invisible. Maps in examples: http://collectivegeo.readthedocs.io/en/latest/corepackages.html#collective-geo-openlayers and https://pypi.python.org/pypi/collective.geo.openlayers/3.2b1#id14 not visible too.

tecnodcp commented 6 years ago

How did you solved it?

sadov commented 6 years ago

Just switched to Plone4.3.

2018-02-07 15:40 GMT+03:00 tecnodcp notifications@github.com:

How did you solved it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/collective/collective.geo.bundle/issues/37#issuecomment-363756696, or mute the thread https://github.com/notifications/unsubscribe-auth/AANd-HKKivXiDMMq5FP2O5lfWmGoUGrhks5tSZmmgaJpZM4MGkGq .

l34marr commented 6 years ago

For the record:

Environment: Plone 5.1.1 with github checkout : c.geo.bundle (plone5 branch), c.geo.behaviour, c.geo.contentlocations, c.geo.geographer, c.geo.mapwidget, c.geo.openlayers, c.geo.settings, c.z3cform.mapwidget

When editing a Dexterity Item, the map is blank in the 'Coordinates' tab.

coordinates-tab

I do manually fill the WKT field, but the result map display the location according to the default settings in @@collectivegeo-controlpanel , not according to my WKT values.

base-layer

2 issues here:

  1. From Chrome debug: layer-switcher-minimize.png 404 Not Found
  2. I expect there's an Overlays, but No Overlays appear
maethu commented 5 years ago

@l34marr I just pushed a PR which fixes some display issues, mainly getting several images. https://github.com/collective/collective.geo.openlayers/pull/9

I'm also gonna fix getting the "marker.png" soon.

maethu commented 5 years ago

@l34marr You can pull the master branch of c.geo.settings (https://github.com/collective/collective.geo.settings/pull/7)

I fixes the missing marker with an upgrade step. The resources (mainly images) have been moved to a static folder and are no longer available as skins resource.

maethu commented 5 years ago

And for the blank map: Try to remove z3cform.colorpicker JS resources . The widget is currently not compatible with pone 5, at least not on my environment.

l34marr commented 4 years ago

@maethu Thanks. I just try fresh Plone511 with my custom content type addon, and add collective.geo.bundle in buildout.cfg.

Next step, I will try upgrade with my existing Plone511, which is a more complex case, and see if everything's OK.

geo-map-view switcher