Closed tanerkay closed 2 years ago
Related issue: https://github.com/GeneaLabs/nova-map-marker-field/issues/64
This pull request introduces 1 alert and fixes 1 when merging c21e1285ccaf532bed68635d52fc7589e74feaed into 876690787ed8bbfe85fb4c98d726e6e621b81434 - view on LGTM.com
new alerts:
fixed alerts:
This pull request fixes 1 alert when merging 3e8485be844b7966e27ab838f91299453f3de60f into 876690787ed8bbfe85fb4c98d726e6e621b81434 - view on LGTM.com
fixed alerts:
@mikebronner hi, any update?
I wanted to add an ability to draw and store polygons but I'm waiting to accept this PR
Hi sorry for the delay, guys. I haven't been using Nova anymore for a while. Let me merge this, but as I cannot test this myself, please let me know if it breaks anything, so I can revert it.
I wanted to add an ability to draw and store polygons
@mostafaznv that is cool functionality, for sure, but it goes beyond the scope of what this field is meant for. I would recommend creating your own field for marking on a map. I just wanted to let you know before you started work on a PR for that.
@mikebronner it does not work at all! the field does not show!
Thanks for the feedback, I'll revert it.
I'm open to another PR that introduces Nova 4 support.
I'm open to another PR that introduces Nova 4 support.
I would do it in coming days.
@mikebronner it does not work at all! the field does not show! yeap, because of ncaught Error: Cannot find module 'laravel-nova'
I've tried to fix it. but due to some SSR features in vue-leaflet (vue 3) plugin, It didn't work as I expected.
So I've decided to create a new package based on other map libraries with some new features.
If will be published soon. After that, maybe I put some extra time to make good PR for this package too.
I've tried to fix it. but due to some SSR features in vue-leaflet (vue 3) plugin, It didn't work as I expected.
So I've decided to create a new package based on other map libraries with some new features.
If will be published soon. After that, maybe I put some extra time to make good PR for this package too.
Could you share with it, if possible
Thanks @mikebronner for the package, has been of great use so far! I've tried to tackle the changes necessary for Nova 4.x, and hoping for some feedback and testing help to get this ready to go.
Changes necessary to support:
vue2-leaflet
->@vue-leaflet/vue-leaflet
vue2-leaflet-geosearch
as a first party component as the vendor version only supports Vue 2.xOther changes:
Issues:
POINT
field rather than a separate latitude and longitude field, but have tried to keep those changes separate from the PR.dist/
directory, e.g.node_modules_leaflet_dist_images_marker-icon-2x_png.js
. These are files that would otherwise be loaded in through promises. My workaround was to import some of the files preemptively, but it would be great to understand the root cause.The workaround was adding the following to the top of
resources/js/field.js
: