Custom Google Locations Map
Code used for marking locations on a Google Map via the Google Maps API.
- Place Javscript in the footer.
- Enter map center of map via lat-lng on myLatlng line.
- Link georssLayer to locations.kml file
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"><!--mce:0--></script> <script type="text/javascript"> $(document).ready(function() { loadGoogleMaps(); }); function loadGoogleMaps() { var myLatlng = new google.maps.LatLng(45.12,-93.41); var myOptions = { center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var georssLayer = new google.maps.KmlLayer('http://www.website.com/locations.kml?time=1321286129',{preserveViewport:true}); georssLayer.setMap(map); map.setZoom(10); }
- Place this div where you want the map to show up.
<div id="map_canvas" style="width:560px; height:450px;"></div>
- Edit or create your locations.kml file from http://www.geositemapgenerator.com/
- Make your custom icon file 40px by 40px with a shadow if you want.
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <Style id="globeIcon"> <IconStyle> <Icon> <href>http://www.stcloudent.com/staging/themes/ent/images/map-icon.png</href> </Icon> </IconStyle> </Style> <LineStyle> <width>2</width> </LineStyle> </Style> <Placemark> <name><![CDATA[St. Cloud Ear, Nose & Throat]]></name> <address><![CDATA[433 Elm Street N, Sauk Centre, MN, 56378, United States]]></address> <description><![CDATA[<div><br /> <a href="http://www.stcloudent.com/staging/locations/" target="_self"><strong>Outreach Location</strong></a><br /> 433 Elm Street N<br /> Sauk Centre, MN 56378<br /> 800-450-3223<br /> </div>]]></description> <styleUrl>#globeIcon</styleUrl> <Point> <coordinates>-94.9546508,45.7456129,0</coordinates> </Point> </Placemark> </Document> </kml>
Used on:
- http://www.nweyeclinic.com/
- http://www.libertysavings.com/
- http://www.stcloudent.com/
- http://www.harborpacific.us/
SEO Product
This is a list of what we do for SEO projects. Everyone let me know if you want to add / remove to this list. We will also need to bread this down on what these mean specifically.
So what we can do pretty standard SEO wise is:
- Optimize the code of the site
- Review search terms to see
- ###What search terms are used on your site
- ###What people on the internet are searching for
- ###Compare the list to make recommended changes
- Setup google analytics to track traffic
- Setup google, bing, webmaster tools to gain insite on any additional seo related techniques the site may require
More advanced SEO / SEM optoins. These options will require lots of planning and effort to be defined similarly to a large web construction project.
- Pay Per Click Campaign
- Link Campaigns
- Social Media Setup
- Social Media Campaign
Some specific when building
- /residential/ is not a proper SEO url. /residential_plumming/ or /residential_electrician/ would be
- Be sure to include thoughtful Title, Description, Keywords(less important but shouldn’t be blank and should match ever page)
- Be sure to include alt tags on all images
- No flash/images as content – duh
- Be sure to install analytics and webmaster tools
- more to come… the idea of this list is to gather a list of SEO build tactics so that we don’t miss any in the construction phase. Some will be painfully obvious others not so much.
Places to make sure you site is listed when doing a link campaign
I think these are all free:
http://www.google.com/localbusinesscenter/
http://listings.local.yahoo.com/
http://corporate.local.com/mk/get/index
http://www.merchantcircle.com/corporate/
http://cc.reachlocal.com/register/login.php
http://www.bing.com/businessportal/
http://listings.mapquest.com/apps/listing
Start a paid list here:
blablabla.com
NWEyeClinic.com launch
Agency128 designed site. We chopped and c5’d. Of note maybe: Custom Doctor/specialty/locations blocks; custom Google Maps; KML files, AutoNavs with if children display different. http://www.nweyeclinic.com/
Embedding Flash Better
Ran into an issue with versions of Flash misbehaving with versions of IE. The SWF_modified way in Dreamweaver, and even the jQuery way (which supposedly uses SWF Object2.2) were not working in all situations. Apparently using swfobject 2.2 the ‘right way’ is the way to go:
http://code.google.com/p/swfobject/
It actually cleans up the html mark-up considerable… which is nice. Their little html generator is quite handy as well. I recommend all you jerks you this.
You can see an implementation: http://www.behrensdesign.com/
Include swfobject via Google API
<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script>
Recent Comments