Building an Interactive SVG Map in Webflow

  Рет қаралды 43,455

Timothy Ricks

Timothy Ricks

Күн бұрын

In this tutorial, we'll learn how to make only the direct path of an svg hoverable and clickable. We'll use my new Wizardry jQuery Builder to create interactive hover states and a few unique Webflow interactions to tie it all together.
Get my jQuery builder at wizardry-techn...
Find the cloneable for this project at webflow.grsm.i...
Join my Webflow Wizards Community
/ timothyricks
Try Webflow using my affiliate link below.
webflow.grsm.i...

Пікірлер: 93
@ThatWebflowGirl
@ThatWebflowGirl Жыл бұрын
I don't think I've ever left a comment on any KZbin video before, but after watching this I am just in awe. I think I found gold.
@MoazamHussain
@MoazamHussain 3 жыл бұрын
I barely leave comments on videos but I haven't been this excited to watch tutorials since the early days of learning design. This is hands down the most valuable content I have come across, ever! Thank you, and please don't stop making these videos. You're awesome!!
@timothyricks
@timothyricks 3 жыл бұрын
This is so awesome to hear! Thank you!
@qminlee225
@qminlee225 3 жыл бұрын
Timothy our project was halted for around 2-3 months because we couldn't find anyone on upwork to create an interactive map where you can click into the areas without it picking up the boundary boxes as squares. You solved this in a 20 minute video and now I can do it myself. Thank you so much. Your content is truly valuable.
@StevenT2
@StevenT2 Ай бұрын
After much searching how to create interactive SVG, this is it! Thank you for the tutorial.
@getverve
@getverve 11 ай бұрын
This looks so slick with the background gradient! But I needed an interactive Google Maps map - found out there is a new fancy Webflow tool for that called Dynamic Map by No Code Flow!
@Vimalanvijay
@Vimalanvijay 3 жыл бұрын
Thanks for these pro tutorials Tim! Really gives me a lot ideas that extend Webflow. Appreciate it so much! :)
@timothyricks
@timothyricks 3 жыл бұрын
So happy they’re helpful
@system2213
@system2213 3 жыл бұрын
I consider myself an advanced Webflow user but you just blew my mind. The whole SVG code thing is so powerful and I never realised how easy it is. On top of that, your tutorial style strikes the perfect balance between speed and detail. You waste no time in getting into it and cover everything important. Thanks for the awesome content! Subscribed!
@Lorenzo-cl6uu
@Lorenzo-cl6uu 3 жыл бұрын
TIM, those are the best advanced webflow tutorial that I've seen. Please keep going, it's always a pleasure to see that you just uploaded a new video 👍🔥🚀
@juliakabelka5778
@juliakabelka5778 3 жыл бұрын
You really make our life so much easier. Thank you for your absolutely great content!
@bedakpurol
@bedakpurol 3 жыл бұрын
Super! Saved for future training! Many thanks for these pro tutorials. Highly appreciated. Cheers from Bali
@eddiewhatson1800
@eddiewhatson1800 3 жыл бұрын
Well done Timothy, some really class tutorials you're putting together here. Keep it up! 🙌
@jwray2k
@jwray2k 2 жыл бұрын
Immediately subscribed after watching just a few minutes of this video! It's so incredibly helpful! I'm really looking forward to trying out some of the techniques you taught in this lesson! Also, the official Webflow Tutorials are already awesome - but your videos take it to the next level! Cheers man! Great content!
@cody2470
@cody2470 3 жыл бұрын
This is awesome Timothy, thank you so much. I have a major project I'm yet to start due in a month, but you're giving me so much inspiration!
@TallyhoScreams
@TallyhoScreams 3 жыл бұрын
Really great content. I'm subscribing. It's clear and concise and made it easily digestable while covering in-depth topics. And what a cool tool you made. Great work.
@LolaOpheliac
@LolaOpheliac 3 жыл бұрын
Bless you so much for this, I'm very new to webflow (and coding) and your videos are so helpful.
@coreymoen
@coreymoen 3 жыл бұрын
Stellar work and props for a great example of using your new JQuery builder tool in the process and showing how you can layer together custom code and interactions for a completely experience! 🎉 One suggestion...would love to see you consider accessibility in more videos. For example, on this one you could drop all map link blocks into a list element for screen readers to know how many items there are, plus also adding sr-only text in each state to read the names out for screen readers! 👍
@timothyricks
@timothyricks 3 жыл бұрын
Thanks so much, Corey! I definitely appreciate the pointers
@bryanmanio_
@bryanmanio_ 3 жыл бұрын
This is some next level stuff.
@Wildenfree
@Wildenfree 3 жыл бұрын
Man you are on Fire T.Ricks! 🤯🥵🔥🔥🔥 incredibly valuable content man, thank you for this! I’ve been considering joining your Patreon when the timing’s right for me, & this is only making want to get on board even more! I can’t wait to dive in soon & really start applying all this! 🙏🏾🙏🏾🙏🏾
@timothyricks
@timothyricks 3 жыл бұрын
Thank you so much! I’m glad these have been helpful! I’d love to see if you get a chance to use this concept in a project.
@Wildenfree
@Wildenfree 3 жыл бұрын
@@timothyricks I'm definitely already thinking about an awesome use case! It may take me a while to implement it & get it live since it's a completely new project / industry I'm thinking of stepping into along side of everything else I do, but I'm excited to add this type of functionality to the user experience! I will definitely keep you posted when I do!
@karlmoyse3117
@karlmoyse3117 3 жыл бұрын
This is awesome Timothy! Will be using this as a baseline for a similar project. Subscribed and looking forward to new content!
@yeseniajulloa8953
@yeseniajulloa8953 3 жыл бұрын
I think I love you. I've been struggling with this forever!
@salmansalahuddin4870
@salmansalahuddin4870 2 жыл бұрын
You are awesome man. I could never think of this.
@connorwatkins377
@connorwatkins377 Жыл бұрын
perfect turoital, this helped me so much on my project, thank you!
@seochon
@seochon 2 жыл бұрын
amazing guide! Thank you Timothy
@susanrainey9694
@susanrainey9694 2 жыл бұрын
This is brilliant - thanks so much for all your great content!
@qrtois
@qrtois 10 ай бұрын
Totally nailed!
@andreasdemou2836
@andreasdemou2836 3 жыл бұрын
Thank you so much for these awesome tutorials Tim! Please do a video explaining the TSE website Vision & Values interaction map!
@timothyricks
@timothyricks 3 жыл бұрын
Thank you! I did a tutorial for it while back. kzbin.info/www/bejne/iqikda2op5ebfKs
@andreasdemou2836
@andreasdemou2836 3 жыл бұрын
@@timothyricks Ohhh! Thanks man you are the best!
@jpponline1
@jpponline1 3 жыл бұрын
Really cool. Advanced for sure!
@elmedin26
@elmedin26 3 жыл бұрын
Are you a human? This is an awesome tutorial. I was 24 and 21 seconds like ... “WOW! This guy is awesome!” Just WOW and THANKS!!!
@timothyricks
@timothyricks 3 жыл бұрын
Hahaha, thanks so much for the kind words! Happy to help!
@elmedin26
@elmedin26 3 жыл бұрын
@@timothyricks You’re welcome! I love your work!
@user-vy1id4uh7y
@user-vy1id4uh7y 3 жыл бұрын
OMG!!! Thank you👍💛 Tutorial is amazing
@avelinileva
@avelinileva 3 жыл бұрын
Looks amazing! Thank you for this great video
@gabrielmazor
@gabrielmazor 3 жыл бұрын
Thank you. Keep doing great videos!
@JasonBrashares
@JasonBrashares 3 жыл бұрын
Non-stop amazement.
@radoandriamahatana686
@radoandriamahatana686 2 жыл бұрын
Thank you for your amazing tuto!
@cweb1988
@cweb1988 2 жыл бұрын
woah....I need to download your knowledge into my brain.
@deluxestockholm6123
@deluxestockholm6123 3 жыл бұрын
My vote for your next video is how to use webflow with GSAP Locomotive smooth scroll and sticky elements :)
@Raj-xn6rg
@Raj-xn6rg 3 жыл бұрын
Great video
@JesseShauffer
@JesseShauffer 3 жыл бұрын
Now we can do circles!
@garyvoigt321
@garyvoigt321 3 жыл бұрын
Straight Wizardry.
@konohadesign1471
@konohadesign1471 Жыл бұрын
Dude, so cool!
@JoChunYan
@JoChunYan 3 жыл бұрын
HI Tim - amazing tutorial!! What is the reasoning behind adding your css code to an embed block (main-embed) rather than adding it to the page code area? Your videos are a wonderful resource for the community!! Learning so much!!!
@Sergy_Kondrashin
@Sergy_Kondrashin 3 жыл бұрын
Magic!
@ahmedlabib6066
@ahmedlabib6066 Жыл бұрын
It's totally amazing! How to did to manage all that your are such a pro and my idol, i want to try that could you reshare the clonable previous not working, thanks ❤️
@listentoAdamTaylor
@listentoAdamTaylor 3 жыл бұрын
Gold!
@romainverjus
@romainverjus 3 жыл бұрын
Quality content!
@emejorkenneth2638
@emejorkenneth2638 3 жыл бұрын
Thanks 😊
@crossx100
@crossx100 3 жыл бұрын
Thanks for all these, Tim. Quick question , how about using Anime.js in webflow. Would be great if you could show us how.
@bianchidy2158
@bianchidy2158 3 жыл бұрын
Hi Timothy, this tutorial was super helpful in making my own interactive SVG map - kudos to you on the clear explanations! One thing I'm struggling with is how to ensure the base map scales to smaller/larger screens. I'm already using 'em' units to scale my base map, and this applies to the individual state SVGs as well - but whenever I move to mobile screens, the base map and the state paths are no longer aligned (although they are on the average 13 inch default view). Any ideas as to what might be the issue? Again, thanks for the great explanation and for making it simple and easy to understand with the jquery builder too.
@juerfe
@juerfe 2 жыл бұрын
did you solve this? facing same issue here
@oladhagerson819
@oladhagerson819 3 жыл бұрын
you are a genius
@HunterReynolds
@HunterReynolds 3 жыл бұрын
Could you share how we could make this integrate with state-specific CMS pages? Each state would act as a link and would go to its respective CMS page. This would be awesome!
@heyderekj
@heyderekj 3 жыл бұрын
Yes! I immediately was wondering how this could be replicated but having a CMS collection called states with all the information you needed.
@joaquindebrito14
@joaquindebrito14 2 жыл бұрын
You are the best!!!
@patrickurwyler
@patrickurwyler 3 жыл бұрын
Real Pro!
@mansoornaderi7400
@mansoornaderi7400 2 жыл бұрын
Great content!! I was just wondering how can I put an ease out animation when the different names of states change.
@powerfilms8130
@powerfilms8130 6 ай бұрын
Every single svg i uploaded in text editor, by entire map or by single state, gave me a code over 1000 characters, which webflow does not take. What's the solution?
@elchinhuseynli8876
@elchinhuseynli8876 3 жыл бұрын
Great tutorial, Tim! One question: Why do we need links blocks to be manually placed inside a map? Did you consider another way of doing it by placing one big SVG map (embedded) and adding classes inside siblings’ path id?
@timothyricks
@timothyricks 3 жыл бұрын
Thank you! Yes, that was my first attempt, but the code character count exceeds Webflow’s limit.
@om14796
@om14796 3 жыл бұрын
could be done. But maybe he wants to add a link to every state that does something on click..
@jgmedia7961
@jgmedia7961 3 жыл бұрын
Hey Tim, when's your course coming out? God Bless You.
@timothyricks
@timothyricks 3 жыл бұрын
Thank you! I need to start working on it
@Abhimabi
@Abhimabi 3 жыл бұрын
How to add a store locator as per zip code in webflow?
@lieugene1553
@lieugene1553 2 жыл бұрын
Hi may i know how do you change the colours of the words of the target class "location", lets say for the word Texas i want it red then for Florida i want it blue. What do I have to do? And how do I remove scroll from the page
@JuliaPiper-by4sv
@JuliaPiper-by4sv 5 ай бұрын
Has anyone successfully done this but connected the hoverable 'states' to CMS collection items? I'm so stuck! Is it even possible?
@gabrielagrygova5133
@gabrielagrygova5133 3 жыл бұрын
Timothy, first of all, thank you for your tutorials as they really help me understand advanced functions of Webflow! However, I´m stuck with the SVG code ( 2:15 ) that exceeds 10 000 characters and therefore can not be inserted into HTML embed code editor. I have tried to copy SVG code from multiple programs, such as Adobe XD, Adobe Illustrator, Corel Draw, but always end up with insanely long code. TL;DR : Any idea how to shorten SVG code would be apperciated.
@UncutRush
@UncutRush 2 жыл бұрын
How could I add links to each part of the map?? \
@simuls.4812
@simuls.4812 3 жыл бұрын
Hi, Timothy nice to meet you Would bring a tutorial about sound effect transitioning slides, click the button. I have seen your portfolio. Please It would be appreciate
@kevintikivik
@kevintikivik Жыл бұрын
Thank you for posting this. Is there anyone here in Quebec Canada who would put to something similar like this together? Send me a message if you want to develop an interactive front and back for your resume.
@mindfulhealing1005
@mindfulhealing1005 3 жыл бұрын
would you consider building a beginner and intermediate course please things like em, percent, vw, vp. flex box etc.
@hareinvestors9689
@hareinvestors9689 4 ай бұрын
Can you do this with wix ?
@petera4813
@petera4813 Жыл бұрын
Hello. Are you available for projects?
@tjarcovanraalte939
@tjarcovanraalte939 3 жыл бұрын
This is awesome, but i'm lost. Checked everything 3 times but can't figure out what I'm doing wrong.. when changing the font size on the map div, only the states scale, not the map image when changing browser size or map-image - only the map image scales, not the states any idea?
@timothyricks
@timothyricks 3 жыл бұрын
I’m sorry to hear that! Maybe make sure the size of the map-image and everything else inside the map are set using EMs and that nothing inside the map container has a font size applied. If it helps, feel free to also compare with the cloneable project. webflow.com/website/SVG-Map?rfsn=4840096.b820eb&
@tjarcovanraalte939
@tjarcovanraalte939 3 жыл бұрын
@@timothyricks ah that's it, @2:00 the font settings for the map__state change from 1vh to 1em and 1.6em - I missed that, works now - Thanks so much for the quick reply!
@plugnewyork3415
@plugnewyork3415 2 жыл бұрын
Question - do you know how I can get it with the state initials to be displayed on the map like for Texas have the TX visible instead of jus blank?
@danielomuto
@danielomuto Жыл бұрын
same question !
@patrickurwyler
@patrickurwyler 3 жыл бұрын
Hi Timothy. Great tutorial, thanks. Related to your query builder. I made a simple but working function: $('.button').click(function() { $('.box').addClass('red'); }); How could I target item of a collection list in webflow individually. At the moment obviously if I click the button all "box" divs turn red. Any idea how to only turn a specific dynamic item red? I'm sure this is a easy question for you. best, Patrick
@timothyricks
@timothyricks 3 жыл бұрын
Thanks Patrick! If the button is inside the item, you could check “Use Trigger Element” and get the box that’s a sibling or parent of that button. I have a tutorial on that at kzbin.info/www/bejne/jHfZe4NogrCtorM If the button is outside of the collection, you could target a specific box by adding $('.box').eq(1).addClass('red');
@patrickurwyler
@patrickurwyler 3 жыл бұрын
@@timothyricks Thanks a lot for your answer. I will try the inside the element approach. My collection list is dynamically growing since the items are generated by users on my site. Targeting from outside with fix number is not possibles since Position of the item is constantly changing... let’s see how it goes with the inside parent element solution... thanks again!
@pedrocassian3159
@pedrocassian3159 3 жыл бұрын
available for hire?
@LaugeMP
@LaugeMP 2 жыл бұрын
Questioning your method. Why aren't you just importing the svg of the map and give each state of the svg a group and class and target that instead of creating 52 elements absolute positioned. Seems way over complicated than what is needed.
@timothyricks
@timothyricks 2 жыл бұрын
Totally get that! This svg and most with this level of detail exceed the amount of code we can have in one WebFlow embed. We could still overlap multiple embeds, but for accessibility having each map state in its own link block make it possible for users to navigate with a keyboard.
@hjrdesignltd
@hjrdesignltd 5 ай бұрын
Annoying that the embedd is a paid version - we literally need this for one map and it's more than exceed budget.- wish there could be a one off fee not an annual billing
@timothyricks
@timothyricks 5 ай бұрын
SVGs can be added without an embed now using the SVG Import App for Webflow webflow.com/apps/detail/svg-import
@michaellee509
@michaellee509 2 жыл бұрын
Hey thank you so much for the awesome tutorials! I'm running into a snag on mine and I'm hoping you can help me out. Instead of changing the location text on the hover I would like to change the text when clicking on a state or country, but it won't work. It works totally fine on 'mouseenter' but when I change that to 'click' nothing happens. I even tried changing the link block to a div because I thought that might be throwing it off but that didn't work either. I'm also trying to change the 'href' attribute of a button with a url that I'm storing in a second custom data attribute when clicking the state, but I can't figure out how to change it. My jQuery is down below. Any help you could give would be much appreciated. Thanks! $('.map-country').on('click', function() { $('.territory').text( $(this).attr('territory-name') ); $('.territory-contact-link a').attr('href', $(this).attr('territory-url') ); });
Top 3 Tricks for Collection Lists in Webflow
15:43
Timothy Ricks
Рет қаралды 25 М.
Interactive Maps in Webflow Using CMS Collections
22:25
Timothy Ricks
Рет қаралды 40 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 19 МЛН
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 47 МЛН
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 53 МЛН
Creating an App with the world's most detailed SVG map
9:02
Creating a CMS based map with Webflow + Mapbox
17:55
KC Katalbas
Рет қаралды 10 М.
SVG can do that?! - talk by Sarah Drasner
38:08
freeCodeCamp.org
Рет қаралды 29 М.
Top Five Interactions Designers Struggle to Create in Webflow
35:07
Timothy Ricks
Рет қаралды 101 М.
New Interaction Technique for Webflow - Wizardry jQuery Builder
19:04
A 10x better Map element for Webflow
4:06
Atlist
Рет қаралды 6 М.
Dynamic SVG Icons for CMS Items In Webflow
15:24
Cullen Kuch
Рет қаралды 1,3 М.
I found more incredible 3D personal portfolios!!!
19:12
Developer Filip
Рет қаралды 181 М.
Javascript Interactive Map with Leaflet EASY (with Marker Clusters & Popups)
41:55
Alejandro AO - Software & Ai
Рет қаралды 6 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 19 МЛН