This project is read-only.

Plus is since Alpha 0.3.0

download Alpha 0.3.0 nightly build

Why Plus

Plus including features, Google Static Maps API not supporting.
e.g. title text below GMarker.

Title Text of GMarker

Code:

 

//create gmap object & set its properties
StaticGMapPlus gmap = new StaticGMapPlus();
gmap.Center = new GeoPointImpl(40.714728, -73.998672);
gmap.Zoom = 14;
gmap.Height = 300;
gmap.Width = 400;
gmap.Sensor = false;

//markers
GMarkerPlus markj = new GMarkerPlus() { TitleBrush = Brushes.Red, Point = new GeoPointImpl(40.714728, -73.999672), Label = "A", Title = "09/13/2010" };
markj.SetMap(gmap);

GMarkerPlus marke = new GMarkerPlus() { Point = new GeoPointImpl(40.715748, -73.996692), Label = "B", Title = "09/14/2010" };
marke.SetMap(gmap);

Bitmap bmp = gmap.FetchBitmap();
String filepath = MapPath("/tmp/gmap.jpg");
bmp.Save(filepath);

 

 //create gmap object & set its properties
            StaticGMapPlus gmap = new StaticGMapPlus();
            gmap.Center = new GeoPointImpl(40.714728, -73.998672);
            gmap.Zoom = 14;
            gmap.Height = 300;
            gmap.Width = 400;
            gmap.Sensor = false;

            //markers
            GMarkerPlus markj = new GMarkerPlus() { TitleBrush = Brushes.Red, Point = new GeoPointImpl(40.714728, -73.999672), Label = "A", Title = "09/13/2010" };
            markj.SetMap(gmap);

            GMarkerPlus marke = new GMarkerPlus() { Point = new GeoPointImpl(40.715748, -73.996692), Label = "B", Title = "09/14/2010" };
            marke.SetMap(gmap);

            Bitmap bmp = gmap.FetchBitmap();
            String filepath = MapPath("/tmp/gmap.jpg");
            bmp.Save(filepath);

Last edited Nov 19, 2010 at 11:59 AM by jebberwocky, version 6

Comments

No comments yet.