|
@@ -77,8 +77,8 @@ class WebViewJavascriptBridgeManager: NSObject {
|
|
|
dictionary.updateValue("location", forKey: "type")
|
|
|
var locationDictionary = Dictionary<String,Any>()
|
|
|
locationDictionary.updateValue(address as Any, forKey: "address")
|
|
|
- locationDictionary.updateValue(latitude as Any, forKey: "latitude")
|
|
|
- locationDictionary.updateValue(longitude as Any, forKey: "longitude")
|
|
|
+ locationDictionary.updateValue(latitude as Any, forKey: "lat")
|
|
|
+ locationDictionary.updateValue(longitude as Any, forKey: "lng")
|
|
|
dictionary.updateValue(locationDictionary, forKey: "params")
|
|
|
NXLLog(JSON(dictionary))
|
|
|
bridge?.callHandler("h5", data: dictionary)
|