Thank you so much Alessandro. Your videos are great. Question: is it possible to add a clickable link to the description box maybe? The source of the link would be set in the database I guess. Thanks again!
Thank you for your help in your videos Alex. They are direct, simple and easy to follow. Maybe you can place the code somewhere that can be easily copied. One other question, can you do the same with a repeater? If so can you show the differences. Thank you!
Hi John Thanks for reaching out. What do you mean by using a repeater? You mean to add maps inside the repeater which show simultaneously more locations from more items?
@@WixCodeTutorialsSnippetCodes Thank you for the response Alex. I was referring to using a repeater as the list rather than a table. Only because they are more flexible for structure and design. As I did try it and it works great with the table, but I could not get the same result using a repeater.Either way Thank you very much for the guidance on the video, as you were the only resource that was simple enough for me to produce lol. Thanks again!
@@WixCodeTutorialsSnippetCodes Thank you, I must be having a different issue, Cause when I go to link the list it gives me a set choice of one from the repeater as a preset rather than selecting the group as you can freely do on a table. Example; when using a table you can select any row and link it to the page without no extra dialogue, but when I link the repeater an extra dialogue box comes up and asks which value from the list i want as predetermined choice.
Alex, I have one other question you might know something about in Wix Code. Do you know how to set the tab order for forms on a wix site? Most people like to just tab to the next sequential box but my boxes seem to be all over the place. Thanks again! Have a great day!
Hi Alex, your tutorials are absolutely great, and really clear, especially for novices like me! Thanks! Have you ever managed to make the "Directions" link in the description box on Google Maps work properly? The link always just directs from your location to the Wix HQ in San Fransisco. I've looked for a few work arounds and they don't seem to work, so not sure what I'm doing wrong. It seems like you need to intercept the link and assign the Lat/Long to the URL before it opens into Google Maps. Do you (or anyone else here) have any ideas? Thanks, Jack
Hi Jack! Thanks for commenting on this video :) I'm happy to hear that you find my content valuable :) Regarding your question, you can grab the link by using the same getCurrentItem method and grab the link, or even better you can now create an address field in your database and then link the Google map to this field directly (no code needed anymore). I think that once you link the address field to your Google map then automatically on click you will be redirect to the Google maps app or web page. But if you want to link to a different web page then you can select the field right into the dataset or via code using getCurrentItem. Let me know how it goes :)
@@WixCodeTutorialsSnippetCodes Thanks Alex, I couldn't get the map widget's own "get directions" link to work. As I say, it just links straight to the Wix HQ, despite showing the correct address on the page map. What would you add to the code you already have here, would you mind sharing? I did find a work-around though, which works for now, though it's not as elegant. Seeing as I'd manually entered the Lat-Lon into the Dataset from a spreadsheet, I just added a CONCAT function to it, putting together the Google Maps URL, plus the cells with the Lat and Lon values. Exporting it as a CSV back into the wix Dataset, then just adding a button to the side of the map connected to this new Field's url. Thanks! :)
Hi Alessandro! is it possible to do this with an address vs long and lat? i want to populate data from a form where users put in addresses and then dynamically show on a map
Hi Christian, As far as I know that's not possible using database Unless you insert an URL then connect it to a button that redirects users into an external page which is the Google Map location link
Great video, easy to follow. I would like to show a region, or country rather than a pin. e.g if you search for Italy in google, it shows you the country with its boundary highlighted Is that possible?
Thanks for sharing this video. Is it possible to have locations with different pin icons? Can this be set from within the Corvid code without needing to go down the HTML frame route?
Hello Alex, when I click on my Dataset and click on View Page Source it only shows the ID. It doesn't show whats below it (EVENTS) so that I can click on "onReady". What am i doing wrong?
how can i display google map where i press button? I already write this code on map page. export function dataset1_ready() { let currentItem=$w('#dataset1').getCurrentItem(); $w('#googleMaps1').location= { "latitude":currentItem.lat, "longtitude":currentItem.lng, "description": currentItem.name } } Is there any connection I need to do between button page and map page?
Thanks Alessandro, I tried this and it works great. Do you have a tutorial to show how to add the directions link using this code. I played around with this code a little but it keeps defaulting to the wix.com location :(
Hi, I have written the code and it works perfectly well in the preview mode however when i publish my website, it doesn't show the location but shows the Wix office location. Pls help :(
Hi, this is more advanced and it requires an html frame, your Google API Keys and a backend module. If you want I can help you creating this. Email me at wixcoding@gmail.com
Hello, Would like to know if you can provide any helpful information regarding this scenario: Pickup Location Dropoff Location ________________ "X" Miles apart How do I get and display the distance between these two points using Google Distance API? I cannot figure this out for weeks now. Would be very grateful for any assistance or direction
Check my NEW SITE AND FULL COURSE! www.wixcoding.com/home
Thank you for this video, Do you know if there is a way to plot multiple points on the map using coordinates?
Thank you so much Alessandro. Your videos are great. Question: is it possible to add a clickable link to the description box maybe? The source of the link would be set in the database I guess. Thanks again!
Hi Nicolás, I honestly never tried that, but I guess it's possibile on Wix code
Thank you my sir, your videos are very helpful, so Keep up the good work
Thank you Alex, this is a very clear video! Do you happen to know whether it is possible to set a map without the pointer and discription? Thanks!
Hi, as far as I know that's not possible at the moment :(
Maybe soon
Thanks for this!
:)
Thank you for your help in your videos Alex. They are direct, simple and easy to follow. Maybe you can place the code somewhere that can be easily copied. One other question, can you do the same with a repeater? If so can you show the differences. Thank you!
Hi John
Thanks for reaching out.
What do you mean by using a repeater? You mean to add maps inside the repeater which show simultaneously more locations from more items?
@@WixCodeTutorialsSnippetCodes Thank you for the response Alex. I was referring to using a repeater as the list rather than a table. Only because they are more flexible for structure and design. As I did try it and it works great with the table, but I could not get the same result using a repeater.Either way Thank you very much for the guidance on the video, as you were the only resource that was simple enough for me to produce lol. Thanks again!
@@johnb5924 repeater and lists should work the same way. I always use them both and not have any issue.
@@WixCodeTutorialsSnippetCodes Thank you, I must be having a different issue, Cause when I go to link the list it gives me a set choice of one from the repeater as a preset rather than selecting the group as you can freely do on a table. Example; when using a table you can select any row and link it to the page without no extra dialogue, but when I link the repeater an extra dialogue box comes up and asks which value from the list i want as predetermined choice.
Alex, I have one other question you might know something about in Wix Code. Do you know how to set the tab order for forms on a wix site? Most people like to just tab to the next sequential box but my boxes seem to be all over the place. Thanks again! Have a great day!
Hi Alex, your tutorials are absolutely great, and really clear, especially for novices like me! Thanks!
Have you ever managed to make the "Directions" link in the description box on Google Maps work properly? The link always just directs from your location to the Wix HQ in San Fransisco. I've looked for a few work arounds and they don't seem to work, so not sure what I'm doing wrong. It seems like you need to intercept the link and assign the Lat/Long to the URL before it opens into Google Maps.
Do you (or anyone else here) have any ideas?
Thanks, Jack
Hi Jack!
Thanks for commenting on this video :)
I'm happy to hear that you find my content valuable :)
Regarding your question, you can grab the link by using the same getCurrentItem method and grab the link, or even better you can now create an address field in your database and then link the Google map to this field directly (no code needed anymore).
I think that once you link the address field to your Google map then automatically on click you will be redirect to the Google maps app or web page.
But if you want to link to a different web page then you can select the field right into the dataset or via code using getCurrentItem.
Let me know how it goes :)
@@WixCodeTutorialsSnippetCodes Thanks Alex,
I couldn't get the map widget's own "get directions" link to work. As I say, it just links straight to the Wix HQ, despite showing the correct address on the page map. What would you add to the code you already have here, would you mind sharing?
I did find a work-around though, which works for now, though it's not as elegant.
Seeing as I'd manually entered the Lat-Lon into the Dataset from a spreadsheet, I just added a CONCAT function to it, putting together the Google Maps URL, plus the cells with the Lat and Lon values. Exporting it as a CSV back into the wix Dataset, then just adding a button to the side of the map connected to this new Field's url.
Thanks! :)
How did you connect with the dynamic data set of the data set on the page where the table is located?
Hi, send me an email to wixcoding@gmail.com
I'll try to help you on this
Hi Alessandro! is it possible to do this with an address vs long and lat? i want to populate data from a form where users put in addresses and then dynamically show on a map
Hi Christian,
As far as I know that's not possible using database
Unless you insert an URL then connect it to a button that redirects users into an external page which is the Google Map location link
Has anyone tried this?
Great video, easy to follow. I would like to show a region, or country rather than a pin. e.g if you search for Italy in google, it shows you the country with its boundary highlighted Is that possible?
Thanks for sharing this video. Is it possible to have locations with different pin icons? Can this be set from within the Corvid code without needing to go down the HTML frame route?
Hi, Google maps can be nowadays connected directly on dataset :)
Yes exactly :)
Hello Alex, when I click on my Dataset and click on View Page Source it only shows the ID. It doesn't show whats below it (EVENTS) so that I can click on "onReady". What am i doing wrong?
Hi Abraham, sorry I didn't get it very well, can u give me more details pls?
how can i display google map where i press button? I already write this code on map page.
export function dataset1_ready() {
let currentItem=$w('#dataset1').getCurrentItem();
$w('#googleMaps1').location= {
"latitude":currentItem.lat,
"longtitude":currentItem.lng,
"description": currentItem.name
}
}
Is there any connection I need to do between button page and map page?
Hi, you have to activate the onClick event for the button, then paste this code inside the event
Thanks Alessandro, I tried this and it works great. Do you have a tutorial to show how to add the directions link using this code. I played around with this code a little but it keeps defaulting to the wix.com location :(
Me too... did you find a solution?
@@JosueDerasJustMe - no never did, did you??
Hi, I have written the code and it works perfectly well in the preview mode however when i publish my website, it doesn't show the location but shows the Wix office location. Pls help :(
Hi, thanks for liking my video x
:)
I believe the issue is that you haven't synced your sandbox database to live, did you?
100th Like !!!
Hello Alessandro, thank you for your video. This is Jose Manuel, without latitude does it work?
I do not know, I never tried it
Hello thanks for the Map work, its great, but how can I display multiple points on one map
Hello, I'll soon upload a tutorial on that. Stay tuned :)
Looking forward to that! :-)
Very interested in this as well. Thank you for this video!
@@james.scott.0 thanks :)
@@WixCodeTutorialsSnippetCodes Still planning to upload it? :-)
I really need multiple pin option...when could you add that in by Crovid code
Can you help me?
This code added just one pin on my map!
thanks
Is there away for my users to add personal markers and save them on their profile? Everyone would have different markers for things they marked.
I really need multiple pin option...when could you add that in? :)
Hi, this is more advanced and it requires an html frame, your Google API Keys and a backend module.
If you want I can help you creating this.
Email me at wixcoding@gmail.com
Hello, Would like to know if you can provide any helpful information regarding this scenario:
Pickup Location
Dropoff Location
________________
"X" Miles apart
How do I get and display the distance between these two points using Google Distance API?
I cannot figure this out for weeks now. Would be very grateful for any assistance or direction
how would you make a dropdown menu set a map location?
how do I show multiple locations at once?
The code doesn't works for me... it keeps giving me the wix location... :(
Hey there, the code is correct, maybe there are a few things you didn't follow
No, I never managed to get it to work.
Wix Code Corvid by Wix Tutorials & Snippet Codes This is what I did:
import wixData from 'wixData';
$w.onReady(function () {
//TODO: write your page related code here...
});
export function dynamicDataset_ready() {
let currentItem = $w('#dynamicDataset').getCurrentItem();
$w('#googleMaps1').location = {
"latitude": currentItem.latitude,
"longitude": currentItem.longitude,
"description": currentItem.title + ", " + currentItem.borough + ", " + currentItem.state
}
}
This is a great tutorial, but the volume is very low.
Thank you for the comment.
I'll adjust the volume for future videos
How did you connect with the dynamic data set of the data set on the page where the table is located ?
Hi, I just answered to your email