-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a 3d buildings #59
Conversation
Conflicts: src/Cornford/Googlmapper/MapperServiceProvider.php
Conflicts: src/Cornford/Googlmapper/MapperServiceProvider.php
Use an environment variable to set the Google API Key
Changed facade class name same like file name
…ng a bug where rendering a single item from a number of items would cause an error
Fixed marker icons
Exposed markers for each map
Fixed informationWindow
…d the initial options array when building a map to enable/disable scroll wheel zoom
Update readme for draggable markers!
…ter is set to false.
I don't believe 3D buildings are show in the JavaScript API for Google Maps. |
is there any king of aproach to create 3d building. I have seen that is possible to be created a polygone on the bulding and a second one with the same points but a bit higher then the original (the roof) and then to connect both of the polygones to create the walls... Is it possible to make such an algorytm to run this idea. Or it would be better if I use other source (not google dev) for this one. |
…et the center of the map on this location.
That would be possible, but i believe it would be fairly complex. You could take a look into the following: http://johndyer.name/drawing-3d-objects-and-building-on-google-maps/ It looks like you have to create polygons around the building then utilise the drawExcrudedShape method to create walls / roofs. However you would still need to manually create the polgon shapes around buildings manually. |
I think I have manage to create something usefull : Mapper.php
and the example for it : `Mapper::map(1, 1, ['zoom' => 8, 'center' => true]);
It might need some refactoring and meaby I am missing something but if that is helpful for someone I will be happy. |
Looks complicated at a glance! I'll take a proper look later. |
Ive raised an issue for this: #71 |
Is it possible to create a 3d objects if not can you please help me how to build some.