turkspartan Posted November 12, 2013 Share Posted November 12, 2013 What does it take to make a map like this? Couldn't find anything on it. I don't need a map this big, but I need to highlight where we serve in the Northern Virginia Metropolitan area.http://www.maidsinblack.com/service-area/Thanks! Link to comment Share on other sites More sharing options...
Ingolme Posted November 12, 2013 Share Posted November 12, 2013 It's just a background picture with some elements placed ontop of it using position: absolute The HTML structure would be something like this: <div class="map"> <div class="box" style="top: 200px; left: 300px;>City 1</div> <div class="box" style="top: 142px; left: 30px;>City 2</div> <div class="box" style="top: 280px; left: 120px;>City 2</div></div> With CSS: .map { position: relative; /* Elements inside will be positioned relative to the top right corner */ width: 800px; /* Width of background image */ height: 600px; /* Height of background image */ background-image: url(map.png); background-position: top left;}.box { width: 100px; height: 40px; background-image: url(speech-bubble.png); background-position: top left; position: absolute;} Link to comment Share on other sites More sharing options...
turkspartan Posted November 12, 2013 Author Share Posted November 12, 2013 Haha, sometimes I overthink things Thank you! How would I make a cool map like that of just northern virginia or something? Should I just try to find a plain map and photoshop it? Link to comment Share on other sites More sharing options...
davej Posted November 12, 2013 Share Posted November 12, 2013 (edited) If you want an active, zoom-able Google map then see... https://developers.google.com/maps/documentation/javascript/tutorial Edited November 12, 2013 by davej Link to comment Share on other sites More sharing options...
shakir Posted November 21, 2013 Share Posted November 21, 2013 Thanks @Ingolme for share this all code i hope it will helpful for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now