javascript - Website Code that shows closest of two cities based on visitor IP -


i trying add line of text on website displays closest of 2 cities website visitor based on visitors ip address.

i have found code displays users current city through geolocation , html5, unless user in 1 of 2 cities, correct information not displayed. there free api create simple or simple few lines of code? trying embed wix, javascript, html, , css or embedded content options.

any great.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -