add support of maptype
modify examples
fix a bug that old value applied when setLocation or setZoom called