Add some drawing on a map and map it's streets - google-maps

I would like to use a layer on top of a google map and map the streets on this layer.
Specifically - I have autocad design and would like to implement it somehow into a map, using tiles (maybe MBTiles) and provide info on the design.
I'm familiar with google maps but not on how I can add this layer and information. I don't want to create polygons and polylines in code - I want to use to vector design, place it on the map and add data like street names and such.
How would I approach this?

I'm thinking you'll need to use AutoCAD Map 3D or AutoCAD Civil 3D to extract the layer as a shape file which you can then use with Google Maps.

Related

Create custom map overlay (polylines) [Mapbox]

I have a Flutter project using flutter_map and tiles from Mapbox. I also have a very large list of coordinates to create polylines on the map. The coordinates are worldwide geographical boundaries. It's working fine but when displaying the polylines the map gets a bit unresponsive due to the amount of polyline data.
How would I be able to create a custom map with the coordinates/polyline data already embedded in the map to avoid having to draw polylines separately?
Thanks
You could use Mapbox Studio to create a map style with sources and layers referencing these coordinates/polyline data. This tutorial on creating a custom style is a great place to get started.

Google Maps marker drop on building not street

I'm currently making a custom map using the Google Maps API. So far I have inserted a kml layer using geoXml3, and have written the code to determine if the location of the marker (dropped by an autocomplete address search) is contained within the kml boundary.
Unfortunately I seemed to forget that the marker drops on the street outside the building, not the building itself. This is important as the kml layer is over buildings, and doesn't bleed on to the street.
Is there a way to get the marker to drop on the building instead of the street? If not, are there any alternative ways I could complete what I'm trying to achieve?
Cheers.

Getting coordinates of polygon areas defined in KML

I have displayed a google map using a KML file as source. The map has a number of polygon areas marked in it. Is there any way to get the center coordinates of each of the polygons without the click event ? I need to display an info window above each polygons when the map is displayed.
Thanks
google.maps.KmlLayer is uses tile based rendering, you can't (at least at present) access the coordinates of the polygons except on a click.
You could use:
FusionTablesLayer, import your KML into that, then query it using either a Fusion Tables API v1.0 or a google.visualization (GViz) query) for the coordinates to get their center.
example using FusionTablesLayer and GViz
A third party KML parser like geoxml3 or geoxml-v3 to render the polygons as native google.maps.Polygon objects, and get their center. This will have performance issues with complex KML.
example using geoxml3

How to build a digital map for a building?

I am required to build a digital indoor map for my school building. I need this to help provide indoor localization for the building. The map has to be in kml format.
I am not able to figure out a way to build the map digitally. All i can think of is draw/connect geo-codes that can shape the indoor plan in google earth.
If any body could share their opinions.. I would be grateful!!!
One option is to use a ground overlay within the maps api. Then you can create an image of your floor plan and then overlay it on your map. The corresponding KML element to use is GroundOverlay.
Have you checked out Google SketchUp? It allows you to model buildings, save as KML and display in Google Earth.

Google Maps - Online Map Marker to mark polygons and shapes onto the map

I'm looking looking for a tool that will allow me to make a map exactly like this:
http://datasearch.uts.edu.au/about/mapsdirections/map.cfm
Basically I need to put shapes around buildings in the satellite view and then slap a marker and information window on them so that I can specify the building name and contents.
So the main issue is that I need the ability to draw shapes directly onto the maps as I don't fancy taking down the lat lng of each corner of the polygon.
Ideally what I'd like to do is have an online application that exports those points to KML, and then I would display google maps on my site and import that kml to display it.
Other suggestions welcome!
Jason
Found a polygon creator
http://www.the-di-lab.com/polygon/
It's simple to use and allows you to copy and paste straight into your code. Would be nice if it had a button that said sent to kml though..