Rendering clickable link in place of text coordinates

So far, we got the data flowing, and now we're going to make it a little more useful. Instead of rendering latitude and longitude information as text, we're going to render a clickable link. A user will be able to click that link; when they receive the location from someone else, it's going to bring them over to Google Maps and they'll be able to view exactly where the other user is. This is going to be much more useful than spitting out the text latitude and longitude.

Now in order to get that done we are going to need to tweak how we transmit the coordinate data. The way we send the data is still fine over inside index.js, we are still going to emit, createLocationMessage. But inside ...

Get Advanced Node.js Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.