

Google Map as the best GeoWeb visualization client and the AJAX RIA pioneer is constantly gotten infusion of UI goodies from Goolge Map API people. This week they put the MapIconMakerFactory 1.0 to Google Code.
The MapIconFactory is actually a JavaScript library that can be used in conjunction with regular GMap API. What you need to do is very simple as the following code shows:
<script src=“mapiconfactory.js” type=“text/javascript”></script>
...
var map = new GMap2(document.getElementById(“map”));
map.setCenter(new GLatLng(37.441944, -122.141944), 13);
var newIcon = MapIconFactory.createMarkerIcon({width: 64, height: 64, primaryColor: “#00ff00″});
var marker = new GMarker(map.getCenter(), {icon: newIcon});
map.addOverlay(marker);
It gives a more attractive way to visualize location information. The above code generate the marker looks like this:
![]()
In case you are interested in GeoWeb, there are other utilities in the GMaps Utility Library at Google Code, there are: MarkerManager, DragZoomControl, LabeledMarker, ExtMapTypeControl, ExtInfoWindow and MarkerTracker.
If you would like to make a comment, please fill out the form below.
| Cox television ||| Verizon High Speed Internet ||| Comcast cable |
Hi Charles,
MapIconFactory was renamed to MapIconMaker and the links have changed. Do you mind updating your post?
New link would be: http://gmaps-utility-library.googlecode.com/svn/trunk/mapiconmaker/
Glad you like it!
Another resource for map icons with more functionality (’freemium’):
http://www.cartosoft.com/mapicons