Skip to content
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

map cluster marker not loaded over https #330

Open
GoogleCodeExporter opened this issue Aug 24, 2015 · 2 comments
Open

map cluster marker not loaded over https #330

GoogleCodeExporter opened this issue Aug 24, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

https://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererp
lus/src/markerclusterer.js

/**
 * The default root name for the marker cluster images.
 *
 * @type {string}
 * @constant
 */
MarkerClusterer.IMAGE_PATH = 
"http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererp
lus/images/m";

What steps will reproduce the problem?
1. load 
https://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/
examples/simple_example.html
2. The page at 
'https://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer
/examples/simple_example.html' was loaded over HTTPS, but displayed insecure 
content from 
'http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/
images/m1.png': this content should also be loaded over HTTPS.
3.

Expected result:


Actual result:

Version: ###

Browser / Operating System:
[Chrome / Win7]

Additional comments:
[Enter any additional comments about the bug here.]


*********************************************************
Tip: Star this issue (next to title) to receive notifications of status
changes against this issue, also used as a gauge for how many people are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by [email protected] on 23 Oct 2014 at 11:28

@GoogleCodeExporter
Copy link
Author

This a (better described) duplicate of: 
https://code.google.com/p/google-maps-utility-library-v3/issues/detail?id=225

Original comment by [email protected] on 24 Nov 2014 at 3:57

@GoogleCodeExporter
Copy link
Author

The problem can be solved by overriding the imagePath option using it's httpS 
version like :

mcOptions = {
imagePath: 
"https://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer
plus/images/m"
};

markerCluster = new MarkerClusterer(map, MarksToDisplay, mcOptions);

Cdlt,
Bertrand.

Original comment by [email protected] on 31 Jul 2015 at 9:20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant