The invention relates to the technical field of electronic maps, in particular to an intranet deployment map tile service and a path planning method, includes such steps as downloading data source, installing open source tools, configuring PostgreSQL, adding mod_tile module for Apache, Apache receiving and front-end request, sending request, tile analysis, rendering tile, OSRM parsing OSM data, and building front-end page. The invention has the advantages of: Using vector space data of OpenStreetMap, the mod_tile module of apache is used as the map server, the OSRM serves as a path plan engine, using renderd and mapnik as map renderers, the leaflet serves as the front-end map frame, a perfect map service is built in intranet. After deploying intranet map service, it can achieve the similareffect of commercial Internet map in intranet, including navigation and path planning, and improve the user experience. PostgreSQL database is used to store spatial vector data, which greatly increases the rendering speed of mapnik.