How to send an Email with longitude and latitude coordinates or maybe send a Google static map using c#. The information should represent the sender email address or IP address as to where the sender is located.
I am using a simple email form and would like to add this feature to it. How do I go about this ? I am open to any suggestions or different ways of achieving this.
You need to use the Javascript Geolocation API. See this . For the map you'll send the lat & long to Google Maps. See this . Once you do the map search, just use the link button to get the URL. It then shouldn't be hard to reverse engineer the URL to apply it to a more general case.
To do the static image, as per @Haedrian, use this . You can also wrap that with a link to the URL as described above.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.