Comments (10)
Did you try without that first slash?
from jquery-store-locator-plugin.
Yes, but the same result!!
i found a solution, it works but i dont know why!!
markerImg: "/path/img/img.png",
markerDim: { height: 32, width: 32 },
catMarkers: { }
I had to add "catMarkers" even if it's empty, is that normal?
I cease the opportunity to ask you 3 other questions please:
1- when selecting a location, is it possible to bounce the marker 2 times or 3 times, or more?
2- how can I use the callback function to find out if no result has been found?
3- I'm using Mac, and when i scroll using my 2 fingers on the map, it gets zoomed, is it possible to disable this??
Thank you
from jquery-store-locator-plugin.
Thanks, yes the markerImg setting has a bug. I should have an updated version up before the end of the weekend.
- There is nothing built into my plugin to support this but I would think you could do it if you wanted. See the if statement at line 1802 in the current version.
- I'll add a no results callback
- Yes, this is just a Google Maps setting that you can override with the mapSettings setting. When you use this setting you need to make sure to include the zoom and mapTypeId, which you can copy from the defaults - then just keep adding whatever you want. I've done something similar with the following settings:
$('#map-container').storeLocator({
'mapSettings' : {
zoom : 12,
mapTypeId: google.maps.MapTypeId.ROADMAP,
zoomControl: false,
disableDoubleClickZoom: true,
scaleControl: false,
scrollwheel: false,
navigationControl: false,
draggable: false
}
});
from jquery-store-locator-plugin.
Cool, thanks a lot, looking forward to the new updated version :)
HAve a great sunday.
from jquery-store-locator-plugin.
Fixed in v2.0.2.
from jquery-store-locator-plugin.
Thanks,
Any idea when you'll release the update with the no results callback ?
from jquery-store-locator-plugin.
It's in v2.0.2 with the callbackNoResults setting.
from jquery-store-locator-plugin.
oh cool, didn't see it in the changelog :)
Thanks for all ;)
from jquery-store-locator-plugin.
Hi Again,
i checked in the options list but didn't find a callback function when a marker and/or a place from the list are being clicked. How can I do so without altering the original js code? I'll need to transmit the reference of the marker...
And also I'd love to send extra parameter to dataLocation file in addition to origAddress, is that possible?
Thanks a lot and happy holidays ;)
from jquery-store-locator-plugin.
Hi,
- I'd like to report a small bug: i can't set the origin marker using the following code:
originMarker: true,
originMarkerImg: "/store-locator/img/marker-home.png",
originMarkerDim: { width: 37, height: 40 }, - Also, the callbackNoResults is not doing what i'm expecting, I first get this message "Geocode was not successful for the following reason: ZERO_RESULTS" and then another one: "Unable to find address"
- what is the equivalent of the previous "callbackComplete" callback function? i'll need to preselect the first store in the list but i just can't do it with "callbackSuccess"...
I'm really stuck and your help would be much appreciated. maybe i shouldn't have upgraded to V2 :/
Looking forward hearing back from you
from jquery-store-locator-plugin.
Related Issues (20)
- Reloading Ajax call
- Enhancement: Store data
- fullMapStart shows map zoom smaller
- SortBy - Only sort storeLimit results?
- Some addresses does not show up without error HOT 2
- default sorts distance by string not as a float HOT 1
- Show all items on map when using paging HOT 1
- Cannot use combination of name search and taxonomy filters HOT 1
- exclusiveFiltering not working across filters HOT 1
- Uncaught TypeError: Cannot read property 'get' of undefined
- ERROR: Automatic location detection failed. Please fill in your address or zip code. HOT 2
- Filter on data in child array
- Zoom issue after filtering by category and with some other settings HOT 3
- Reload HOT 1
- Show nearest location if no results because of selected distance
- "API without a callback is not supported" HOT 3
- Start with marker's info window open? HOT 1
- Category filtering with JSON data: markers duplicate when Reset is selected and then selected again. HOT 4
- Icons for markers instead of images? HOT 2
- Only show featured locations at top
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 jquery-store-locator-plugin.