Changeset 21991
- Timestamp:
- 08/23/17 15:20:02 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/googlemaps.m
r21784 r21991 4 4 % Usage: 5 5 % md = googlemaps(md) 6 % md = googlemaps(md,zoom) 6 7 % md = googlemaps(md,ullat,ullon,lrlat,lrlon) 7 8 % md = googlemaps(md,ullat,ullon,lrlat,lrlon,options) … … 23 24 end 24 25 26 if nargin==2, 27 options=addfielddefault(options,'zoom',ullat); 28 end 29 25 30 if md.mesh.epsg==0, 26 31 error('md.mesh.epsg not defined'); 27 32 end 28 if nargin ==1,33 if nargin<3, 29 34 %Get xlim and ylim (used to extract Google maps image) 30 35 xlim=getfieldvalue(options,'xlim',[min(md.mesh.x) max(md.mesh.x)]);
Note:
See TracChangeset
for help on using the changeset viewer.