找到你要的答案

Q:Display Google maps with Node.js

Q:显示谷歌地图与Node.js

How do you display Google maps in Node.js? I can not find any examples on the internet how to display it.. only code how to get directions or add markers,.. not how to get in on your screen.

How do you display Google maps in Node.js? I can not find any examples on the internet how to display it.. only code how to get directions or add markers,.. not how to get in on your screen.

answer1: 回答1:

You can use the node.js express framework to serve a webpage, which is then opened within a browser.

Here you can find a runnable example for using the Google Maps Javascript API: http://runnable.com/UTlPMl-f2W1TAABV/using-google-maps-javascript-api

你可以使用Node.js表达框架为一个网页,然后在浏览器中打开。

Here you can find a runnable example for using the Google Maps Javascript API: http://runnable.com/UTlPMl-f2W1TAABV/using-google-maps-javascript-api

node.js  google-maps