[TYPO3-english] google maps on version 6.2.5 problem

Jan Bednarik info at bednarik.org
Mon Nov 17 18:04:08 CET 2014


Hi Jordan,

in what way do you want to include Google Maps? If all you want is to 
display simple map with pointer, then you don't need any extension, all 
you need to do is to include piece of HTML code as simple HTML content 
element.

The code is like this:

<script type="text/javascript" 
src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
     <div id="map" style="width: 100%; height: 270px"></div>
     <script type="text/javascript">
         var myOptions = {
             zoom: 16,
             mapTypeControl: false,
             panControl:false,
             zoomControl:false,
             scaleControl: false,
             streetViewControl: false,
             center: new google.maps.LatLng(50.0842141,14.4180389),
             mapTypeId: google.maps.MapTypeId.ROADMAP
           };
         var map = new google.maps.Map(document.getElementById("map"), 
myOptions);
         var markConf = {
             map : map,
             position: new google.maps.LatLng(50.0842141,14.4180389)
         }
         var mark = new google.maps.Marker(markConf);

     </script>

Regards

Jan


Dne 17. 11. 2014 14:27, Yordan Ivanov napsal(a):
>   Hi list,
> I came across the following problem:
>
> I want to integrate google maps on my Typo3 version  6.2.5 site
> I tried the extensions: pit_googlemaps and easy_googlemap and no one of them works fine.It is shown nothing at the pages.
> I test them on another my site Typo3 version 6.1 and  they work fine.
> I have put the same settings in both cases.
>
> Maybe I miss any setting in version 6.2 or problem is elsewhere
>
> thanks
> Jordan
>



More information about the TYPO3-english mailing list