Tag Archives: maps

Google Maps Platfom images-01

IMPORTANT: Google Maps Changes!

Short info for you:

In admin->settings->system settings you need to enter your google maps api key and enable billing on Google Maps. If you will not do that then google maps and will stop working on June 11th and your website may become unusable.

Guide how to enter and get your own api key: http://iwinter.com.hr/support/?p=9658

For now Google will provide free 200 USD/months what should be enough for all our clients.

Other details:

Today May 2, Google release troublesome news about Google Maps, please read this complete news because your website may stop working.

Beginning June 11th, Google launching new pricing plan what will impact all clients and cause google maps not working issue!

News: https://mapsplatform.googleblog.com/2018/05/introducing-google-maps-platform.html

Pricing: https://cloud.google.com/maps-platform/pricing/sheet/

What this means for us?

Until now we providing our api key by default on installation, but because many of website now using our api key we are not able to pay this by new google pricing so api key related will be disabled by google and you will need to enter your own api key.

We plan to implement alternative free maps support, still deciding about solution, probably will be openstreetmaps or similar. Problem is that we don’t have enough time to implement this on all our script and themes so your own api key is only solution for now.

 

 

Screenshot_1

Google Map Infowindow issue in May 2018

On 17.05.2018 Google released new experimental maps api again. without any notice and many websites have troubles after that update again.

Now you should change same as below, but with v=3.3

Google released new experimental maps api on 13.2.2018. without any notice and many websites have troubles after that update.

https://developers.google.com/maps/documentation/javascript/releases

Continue reading

Google Maps API error on Portal

Quick solution:

  1. Update script to latest version v1.5.9
  2. Get you Maps API key from Google: JavascriptAPIKEy
  3. In Admin->Settings->System settings enter your “Google Maps API key”

Description and changes in older script versions:

From 22 June 2016,  Google blocking GoogleMaps libraries all new domains and some old.

Usage limits description: https://developers.google.com/maps/documentation/javascript/usage

Continue reading

How to change Content in google maps popup?

map-popup-modifications

 

In version 1.5.5:

You can customize file:
templates\{your-template}\widgets\map_popup.php

In older version <=1.5.4:

You need to change (only example for template page_homepage.php, for other template files you should open other template file):
templates\{your-template}\page_homepage.php, line 34.

Variable name depends on ID of this option/field, you can find it in your administration->Estates->Options
Pseudo variable: {option_#}, # is ID
For more details about variable, check out: http://real-estate.iwinter.com.hr/documentation/#!/property_template , section “Real estates for map on top:”

And for ajax results:
application\controllers\frontend.php, line around 2689:
$estate_obj_gen->data= …

Here you can use for example something like this:
(!empty($estate[‘option_36′])?$this->data[‘options_prefix_36′].” “.$estate[‘option_36′].” “.$this->data[‘options_suffix_36′]:”)

In your template file if you want to change autoload map popups then you should customize this part (red color), you should use CTRL+F to find this code:

values:[
            {all_estates}
                {latLng:[{gps}], adr:"{address}",  options:{ icon: "{icon}" , labelContent: ( abbrNum({option_36}) ), labelAnchor: new google.maps.Point(22, -5), labelClass: "labels", labelStyle: {opacity: 0.75} }, data:"<a style=\"color:#25863E\" href=\"{url}\">{option_2} in {address} for {option_4}</a><br />{option_3}{options_suffix_3}  {has_option_19}{option_19} bathrooms{/has_option_19}  {has_option_20}{option_20} bedrooms{/has_option_20}  {has_option_1000}Zone {option_1000}{/has_option_1000} "},
            {/all_estates}
            ],