类 LocationIPO


  • public class LocationIPO
    extends java.lang.Object
    从以下版本开始:
    2018年7月31日
    作者:
    孙金川
    • 构造器概要

      构造器 
      构造器 说明
      LocationIPO()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static LocationIPO toLocationIPO​(com.alibaba.fastjson.JSONObject location)
      将经纬度参数转换为位置对象
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • LocationIPO

        public LocationIPO()
    • 方法详细资料

      • toLocationIPO

        public static LocationIPO toLocationIPO​(com.alibaba.fastjson.JSONObject location)
        将经纬度参数转换为位置对象

        JSONObject 转 LocationIPO

        参数:
        location - 标准的经纬度JSON对象,包含的key有("lng", "lat")
        返回:
        经纬度对象