Comments (4)
Hi @Dontorpedo thanks for submitting that idea. However, for now I think I will leave that feature out, because it doesn't really match with the intended purpose of this package. Could you expand on why this feature is important to your use-case?
from nova-map-marker-field.
Hi, yes!
it would be very helpfull for winter service tour planning, and services that are charged depending how many customers are nearby
from nova-map-marker-field.
@Dontorpedo Thanks for following up. For that to be programmatically useful though, I would think you would need to have more information returned than just the coordinates of the marker. For example, you would need the coordinates of the nearby markers, perhaps with distance and direction from the original marker, to be able to use it in any significant way.
Further, how would you determine which markers to show? Would they need to be based on specific criteria, distance, attributes, etc.? All these things are beyond what this Nova field is designed for.
This field is intended solely for determining lat/long coordinates of a given point on the map.
For more complex things, it is probably better to create your own custom field with the specific functionality you need, or perhaps even not do it in Nova, but have it be first-citizen functionality of your app.
I'm only guessing, of course, based on your short description -- it's difficult for me to envision exactly what your intentions are.
from nova-map-marker-field.
I can see what you mean by showing other markers nearby on the detail screen to give context, though.
If we limited it to nearby markers, we would have to have GIS functionality in the database to calculate distance in the where clauses. If we loaded all markers, it could quickly crash the page.
I'm going to put this on hold for now, but keep it here in case I can think of a good way to implement it. I'll be happy to consider a PR if you want to submit one and it is performant :).
from nova-map-marker-field.
Related Issues (20)
- Is it possible to put several markers in a map ? HOT 2
- TypeError: Cannot create property 'latitude' on string HOT 5
- the mab is showing as balnk
- Better nullable support HOT 2
- Laravel 6 support on 0.2.2 HOT 1
- Nova is required for? HOT 1
- Google search provider does not work HOT 2
- Support for Storing lat/long in mysql Geo Point field HOT 9
- Map doesn't refresh on second search try. HOT 4
- Can't input in the search bar in Safari HOT 1
- CORS error HOT 1
- The pin icons needs to be rendered via the asset()/mix() func
- parsing failed bad endian byte value 50
- Laravel 9 support HOT 4
- Add a maxZoom param to l-tile-layer? HOT 1
- Nova 4 support HOT 2
- Please remove illuminate/support from dependencies. HOT 1
- Detail View bug with negative latitude and longitude HOT 1
- Not able to install the package due to illuminate/support HOT 2
- I'm on Laravel 9^ but I still am not able to install this package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nova-map-marker-field.