Package com.gnizr.core.util

Examples of com.gnizr.core.util.Geo


    }
  }

  private void addGeonamesPointMarker(BookmarkManager bookmarkManager,Bookmark bookmark, MachineTag mt) throws NoSuchUserException, NoSuchLinkException, MissingIdException, NoSuchBookmarkException{
    String placename = TagUtil.mapUnderscoreToSpace(mt.getValue());
    Geo geo = GeonamesSearch.searchGeonames(placename);
    if(geo != null){
      PointMarker pm = new PointMarker();
      pm.setPoint(geo.getLongitude(), geo.getLatitude());
      pm.setNotes(placename);       
      bookmarkManager.addPointMarker(bookmark,pm);
    }
  }
View Full Code Here

TOP

Related Classes of com.gnizr.core.util.Geo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.